diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:19 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:19 +0200 |
commit | 266ab52b3a741a58fb17c48b0f7939d7c5d266de (patch) | |
tree | b4bccc59b9a35f3acbe7560f3d633940c71aedef /TypedVector.h | |
parent | 2c8c1a156130aa40be7dcaeb3ce2977a03cf50c2 (diff) | |
download | debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.tar.gz debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.tar.bz2 debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.zip |
Imported Upstream version 0.6upstream/0.6
Diffstat (limited to 'TypedVector.h')
-rw-r--r-- | TypedVector.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/TypedVector.h b/TypedVector.h index 42c16b5..3a9da4d 100644 --- a/TypedVector.h +++ b/TypedVector.h @@ -23,14 +23,12 @@ in the source distribution for its full text. #endif typedef void(*TypedVector_procedure)(void*); -typedef int(*TypedVector_booleanFunction)(const Object*,const Object*); typedef struct TypedVector_ { Object **array; int arraySize; int growthRate; int items; - TypedVector_booleanFunction compareFunction; char* vectorType; bool owner; } TypedVector; @@ -40,16 +38,10 @@ TypedVector* TypedVector_new(char* vectorType_, bool owner, int size); void TypedVector_delete(TypedVector* this); - void TypedVector_prune(TypedVector* this); -int TypedVector_compareFunction(const Object* v1, const Object* v2); - -void TypedVector_setCompareFunction(TypedVector* this, TypedVector_booleanFunction f); - void TypedVector_sort(TypedVector* this); - void TypedVector_insert(TypedVector* this, int index, void* data_); Object* TypedVector_take(TypedVector* this, int index); |