diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2010-06-17 19:02:03 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2010-06-17 19:02:03 +0000 |
commit | 9eb912149e17ba74ddc429e093abfaccab02bb7a (patch) | |
tree | 4428e8ff56809756cff8ddc1e17d1f3e89c7cd2e /Vector.c | |
parent | bc4f7147ccb72244ddb8eb256a0b6ae1684aa2bd (diff) |
expand/collapse tree
Diffstat (limited to 'Vector.c')
-rw-r--r-- | Vector.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -20,8 +20,6 @@ in the source distribution for its full text. #define DEFAULT_SIZE -1 #endif -typedef void(*Vector_procedure)(void*); - typedef struct Vector_ { Object **array; Object_Compare compare; @@ -255,16 +253,3 @@ inline int Vector_indexOf(Vector* this, void* search_, Object_Compare compare) { } return -1; } - -/* - -static void Vector_foreach(Vector* this, Vector_procedure f) { - int i; - assert(Vector_isConsistent(this)); - - for (i = 0; i < this->items; i++) - f(this->array[i]); - assert(Vector_isConsistent(this)); -} - -*/ |