aboutsummaryrefslogtreecommitdiffstats
path: root/Vector.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:27 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:27 +0200
commit283707c5e5bc436b78ea23bf5500cb6b16a01148 (patch)
treeb977131bbbb4c3bd8ade370aab2e4fc913440c04 /Vector.h
parentbea9b4798717b6f4e31085506dfc179eeb8dc17c (diff)
downloaddebian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.tar.gz
debian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.tar.bz2
debian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.zip
Imported Upstream version 0.9upstream/0.9
Diffstat (limited to 'Vector.h')
-rw-r--r--Vector.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/Vector.h b/Vector.h
index b8010bf..d2b74ce 100644
--- a/Vector.h
+++ b/Vector.h
@@ -4,7 +4,7 @@
#define HEADER_Vector
/*
htop
-(C) 2004-2006 Hisham H. Muhammad
+(C) 2004-2010 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
@@ -22,8 +22,6 @@ in the source distribution for its full text.
#define DEFAULT_SIZE -1
#endif
-typedef void(*Vector_procedure)(void*);
-
typedef struct Vector_ {
Object **array;
Object_Compare compare;
@@ -49,19 +47,19 @@ void Vector_prune(Vector* this);
void Vector_sort(Vector* this);
-void Vector_insert(Vector* this, int index, void* data_);
+void Vector_insert(Vector* this, int idx, void* data_);
-Object* Vector_take(Vector* this, int index);
+Object* Vector_take(Vector* this, int idx);
-Object* Vector_remove(Vector* this, int index);
+Object* Vector_remove(Vector* this, int idx);
-void Vector_moveUp(Vector* this, int index);
+void Vector_moveUp(Vector* this, int idx);
-void Vector_moveDown(Vector* this, int index);
+void Vector_moveDown(Vector* this, int idx);
-void Vector_set(Vector* this, int index, void* data_);
+void Vector_set(Vector* this, int idx, void* data_);
-extern Object* Vector_get(Vector* this, int index);
+extern Object* Vector_get(Vector* this, int idx);
extern int Vector_size(Vector* this);
@@ -73,8 +71,4 @@ void Vector_add(Vector* this, void* data_);
extern int Vector_indexOf(Vector* this, void* search_, Object_Compare compare);
-/*
-
-*/
-
#endif

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