aboutsummaryrefslogtreecommitdiffstats
path: root/Object.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:19 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:19 +0200
commit266ab52b3a741a58fb17c48b0f7939d7c5d266de (patch)
treeb4bccc59b9a35f3acbe7560f3d633940c71aedef /Object.h
parent2c8c1a156130aa40be7dcaeb3ce2977a03cf50c2 (diff)
downloaddebian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.tar.gz
debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.tar.bz2
debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.zip
Imported Upstream version 0.6upstream/0.6
Diffstat (limited to 'Object.h')
-rw-r--r--Object.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Object.h b/Object.h
index b7497ea..b69c902 100644
--- a/Object.h
+++ b/Object.h
@@ -19,15 +19,15 @@ in the source distribution for its full text.
typedef struct Object_ Object;
-typedef void(*Method_Object_display)(Object*, RichString*);
-typedef bool(*Method_Object_equals)(const Object*, const Object*);
-typedef void(*Method_Object_delete)(Object*);
+typedef void(*Object_Display)(Object*, RichString*);
+typedef int(*Object_Compare)(const Object*, const Object*);
+typedef void(*Object_Delete)(Object*);
struct Object_ {
char* class;
- Method_Object_display display;
- Method_Object_equals equals;
- Method_Object_delete delete;
+ Object_Display display;
+ Object_Compare compare;
+ Object_Delete delete;
};
@@ -39,6 +39,6 @@ void Object_delete(Object* this);
void Object_display(Object* this, RichString* out);
-bool Object_equals(const Object* this, const Object* o);
+int Object_compare(const Object* this, const Object* o);
#endif

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