diff options
author | Eugene V. Lyubimkin <jackyf@debian.org> | 2011-01-16 19:36:07 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:28 +0200 |
commit | 6e8d31964ea33edd470001ee13070e844b269e11 (patch) | |
tree | 48b41783f978b511ccfb25260c83717160c8d63b /Vector.h | |
parent | 6e545da37e2482b15007df28c549afa072a5198d (diff) | |
parent | 283707c5e5bc436b78ea23bf5500cb6b16a01148 (diff) | |
download | debian_htop-6e8d31964ea33edd470001ee13070e844b269e11.tar.gz debian_htop-6e8d31964ea33edd470001ee13070e844b269e11.tar.bz2 debian_htop-6e8d31964ea33edd470001ee13070e844b269e11.zip |
Imported Debian patch 0.9-1debian/0.9-1
Diffstat (limited to 'Vector.h')
-rw-r--r-- | Vector.h | 22 |
1 files changed, 8 insertions, 14 deletions
@@ -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 |