summaryrefslogtreecommitdiffstats
path: root/Vector.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-09-08 16:45:11 +1000
committerNathan Scott <nathans@redhat.com>2020-09-08 16:45:11 +1000
commiteede79b29af116bc568c7f7a1be319f0c1dfd311 (patch)
treeb271a1980e4b48a5178d60b8aed1efa6987e4e3d /Vector.h
parent85ff6960ed5c1312f9d773e695418fdbfffd5303 (diff)
parent7758ffcdeae26f47f4ad6ec847fb8292fd5ceee3 (diff)
Merge branch 'noheadergen' of https://github.com/zevweiss/htop into zevweiss-noheadergen
Diffstat (limited to 'Vector.h')
-rw-r--r--Vector.h34
1 files changed, 16 insertions, 18 deletions
diff --git a/Vector.h b/Vector.h
index 0d9f1c2c..7d1436aa 100644
--- a/Vector.h
+++ b/Vector.h
@@ -1,5 +1,3 @@
-/* Do not edit this file. It was automatically generated. */
-
#ifndef HEADER_Vector
#define HEADER_Vector
/*
@@ -27,42 +25,42 @@ typedef struct Vector_ {
} Vector;
-extern Vector* Vector_new(ObjectClass* type, bool owner, int size);
+Vector* Vector_new(ObjectClass* type, bool owner, int size);
-extern void Vector_delete(Vector* this);
+void Vector_delete(Vector* this);
#ifdef DEBUG
-extern int Vector_count(Vector* this);
+int Vector_count(Vector* this);
#endif
-extern void Vector_prune(Vector* this);
+void Vector_prune(Vector* this);
// If I were to use only one sorting algorithm for both cases, it would probably be this one:
/*
*/
-extern void Vector_quickSort(Vector* this);
+void Vector_quickSort(Vector* this);
-extern void Vector_insertionSort(Vector* this);
+void Vector_insertionSort(Vector* this);
-extern void Vector_insert(Vector* this, int idx, void* data_);
+void Vector_insert(Vector* this, int idx, void* data_);
-extern Object* Vector_take(Vector* this, int idx);
+Object* Vector_take(Vector* this, int idx);
-extern Object* Vector_remove(Vector* this, int idx);
+Object* Vector_remove(Vector* this, int idx);
-extern void Vector_moveUp(Vector* this, int idx);
+void Vector_moveUp(Vector* this, int idx);
-extern void Vector_moveDown(Vector* this, int idx);
+void Vector_moveDown(Vector* this, int idx);
-extern void Vector_set(Vector* this, int idx, void* data_);
+void Vector_set(Vector* this, int idx, void* data_);
#ifdef DEBUG
-extern Object* Vector_get(Vector* this, int idx);
+Object* Vector_get(Vector* this, int idx);
#else
@@ -72,7 +70,7 @@ extern Object* Vector_get(Vector* this, int idx);
#ifdef DEBUG
-extern int Vector_size(Vector* this);
+int Vector_size(Vector* this);
#else
@@ -84,9 +82,9 @@ extern int Vector_size(Vector* this);
*/
-extern void Vector_add(Vector* this, void* data_);
+void Vector_add(Vector* this, void* data_);
-extern int Vector_indexOf(Vector* this, void* search_, Object_Compare compare);
+int Vector_indexOf(Vector* this, void* search_, Object_Compare compare);
void Vector_splice(Vector* this, Vector* from);

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