From 85bb4ad9cb820ac3b8e935a930084a06cbfd2847 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:20 +0200 Subject: Imported Upstream version 0.6.3 --- ListItem.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'ListItem.h') 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 -- cgit v1.2.3