aboutsummaryrefslogtreecommitdiffstats
path: root/ListItem.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:20 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:20 +0200
commit85bb4ad9cb820ac3b8e935a930084a06cbfd2847 (patch)
tree681fd9b2d9fa80931b2a8bec4bb6667865b7c569 /ListItem.h
parentea859f50d9438bc61ae96721a4d255b49de78653 (diff)
downloaddebian_htop-85bb4ad9cb820ac3b8e935a930084a06cbfd2847.tar.gz
debian_htop-85bb4ad9cb820ac3b8e935a930084a06cbfd2847.tar.bz2
debian_htop-85bb4ad9cb820ac3b8e935a930084a06cbfd2847.zip
Imported Upstream version 0.6.3upstream/0.6.3
Diffstat (limited to 'ListItem.h')
-rw-r--r--ListItem.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/ListItem.h b/ListItem.h
index 17b2fcf..a58db3a 100644
--- a/ListItem.h
+++ b/ListItem.h
@@ -1,9 +1,9 @@
-/* Do not edit this file. It was automatically genarated. */
+/* Do not edit this file. It was automatically generated. */
#ifndef HEADER_ListItem
#define HEADER_ListItem
/*
-htop
+htop - ListItem.h
(C) 2004-2006 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
@@ -16,24 +16,31 @@ in the source distribution for its full text.
#include "debug.h"
+
typedef struct ListItem_ {
Object super;
char* value;
int key;
} ListItem;
+
+#ifdef DEBUG
extern char* LISTITEM_CLASS;
+#else
+#define LISTITEM_CLASS NULL
+#endif
ListItem* ListItem_new(char* value, int key);
+void ListItem_append(ListItem* this, char* text);
+
void ListItem_delete(Object* cast);
void ListItem_display(Object* cast, RichString* out);
-void ListItem_append(ListItem* this, char* text);
-
const char* ListItem_getRef(ListItem* this);
-int ListItem_compare(const Object*, const Object*);
+int ListItem_compare(const void* cast1, const void* cast2);
+
#endif

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