aboutsummaryrefslogtreecommitdiffstats
path: root/ListItem.h
diff options
context:
space:
mode:
authorBartosz Fenski <fenio@debian.org>2006-08-14 13:03:15 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:21 +0200
commit8ae888dfb193b86560b4d874767c347bf2be8097 (patch)
treed82d76a4fb242d84ab6371f76ca88459d9d8b98e /ListItem.h
parentf520e61979ccb94cf3f6f8e5c67784c6c260924e (diff)
parent85bb4ad9cb820ac3b8e935a930084a06cbfd2847 (diff)
downloaddebian_htop-8ae888dfb193b86560b4d874767c347bf2be8097.tar.gz
debian_htop-8ae888dfb193b86560b4d874767c347bf2be8097.tar.bz2
debian_htop-8ae888dfb193b86560b4d874767c347bf2be8097.zip
Imported Debian patch 0.6.3-1debian/0.6.3-1
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