summaryrefslogtreecommitdiffstats
path: root/Vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'Vector.h')
-rw-r--r--Vector.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Vector.h b/Vector.h
index dc3361a2..9b284778 100644
--- a/Vector.h
+++ b/Vector.h
@@ -19,16 +19,15 @@ in the source distribution for its full text.
typedef struct Vector_ {
Object **array;
- Object_Compare compare;
+ ObjectClass* type;
int arraySize;
int growthRate;
int items;
- char* type;
bool owner;
} Vector;
-Vector* Vector_new(char* type, bool owner, int size, Object_Compare compare);
+Vector* Vector_new(ObjectClass* type, bool owner, int size);
void Vector_delete(Vector* this);