diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-17 09:48:32 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-17 09:48:32 +0200 |
commit | 0a64a7b2817fb56bbc4640e27a484eb479e0bb22 (patch) | |
tree | a8d37a29d622aaf4104e1ef438b9389d4b2275df /src/kernel/lib | |
parent | cc437b9263b51f96484762e91a15c1584ede1e83 (diff) | |
download | TCE-0a64a7b2817fb56bbc4640e27a484eb479e0bb22.tar.gz TCE-0a64a7b2817fb56bbc4640e27a484eb479e0bb22.zip |
Added some documentation about the coming VFS.
Diffstat (limited to 'src/kernel/lib')
-rw-r--r-- | src/kernel/lib/earray.h | 2 |
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; } }; |