From 00b324bfc162030b575e03795dcfcaac56bd0b4d Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 5 Dec 2012 15:12:20 +0000 Subject: Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers. --- Vector.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Vector.h') 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); -- cgit v1.2.3