summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-17 09:48:32 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-17 09:48:32 +0200
commit0a64a7b2817fb56bbc4640e27a484eb479e0bb22 (patch)
treea8d37a29d622aaf4104e1ef438b9389d4b2275df /src
parentcc437b9263b51f96484762e91a15c1584ede1e83 (diff)
downloadTCE-0a64a7b2817fb56bbc4640e27a484eb479e0bb22.tar.gz
TCE-0a64a7b2817fb56bbc4640e27a484eb479e0bb22.zip
Added some documentation about the coming VFS.
Diffstat (limited to 'src')
-rw-r--r--src/kernel/lib/earray.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/lib/earray.h b/src/kernel/lib/earray.h
index b6d0a55..d3d7a9b 100644
--- a/src/kernel/lib/earray.h
+++ b/src/kernel/lib/earray.h
@@ -28,6 +28,8 @@ struct earray {
int add(T* ptr); // return element number or -1 if fail
T* at(int num); // returns 0 when nothing
void set(int num, T* ptr);
+
+ int count() { return elements; }
};