diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:20 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:20 +0200 |
commit | 85bb4ad9cb820ac3b8e935a930084a06cbfd2847 (patch) | |
tree | 681fd9b2d9fa80931b2a8bec4bb6667865b7c569 /ListItem.h | |
parent | ea859f50d9438bc61ae96721a4d255b49de78653 (diff) | |
download | debian_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.h | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -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 |