summaryrefslogtreecommitdiffstats
path: root/Vector.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2012-12-05 15:12:20 +0000
committerHisham Muhammad <hisham@gobolinux.org>2012-12-05 15:12:20 +0000
commit00b324bfc162030b575e03795dcfcaac56bd0b4d (patch)
treefbaada243839b0b67351856e2d02a2e8184bf65f /Vector.h
parent2a73405cd060b543d56987650327b18078a137d7 (diff)
Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers.
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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy