From 2f1f82ee87f42b53593575241839d6d3b277880f Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 6 Jun 2006 20:41:01 +0000 Subject: Updates for new version of the MakeHeader.py script. --- Vector.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Vector.c') diff --git a/Vector.c b/Vector.c index 3e637db5..349dd127 100644 --- a/Vector.c +++ b/Vector.c @@ -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; -- cgit v1.2.3