diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2006-06-06 20:41:01 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2006-06-06 20:41:01 +0000 |
commit | 2f1f82ee87f42b53593575241839d6d3b277880f (patch) | |
tree | abffb1c601fb3b92e2f910bfd420f98e0f552874 /Vector.c | |
parent | b95993fa22dc62667a86919d371e0941c168c094 (diff) |
Updates for new version of the MakeHeader.py script.
Diffstat (limited to 'Vector.c')
-rw-r--r-- | Vector.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -58,8 +58,7 @@ void Vector_delete(Vector* this) { free(this); } -/* private */ -bool Vector_isConsistent(Vector* this) { +static inline bool Vector_isConsistent(Vector* this) { if (this->owner) { for (int i = 0; i < this->items; i++) if (this->array[i] && this->array[i]->class != this->vectorType) @@ -107,8 +106,7 @@ void Vector_sort(Vector* this) { */ } -/* private */ -void Vector_checkArraySize(Vector* this) { +static void Vector_checkArraySize(Vector* this) { assert(Vector_isConsistent(this)); if (this->items >= this->arraySize) { int i; |