aboutsummaryrefslogtreecommitdiffstats
path: root/Object.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:15 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:15 +0200
commitd3c9975943df58e293359b87905d19ff1fd52061 (patch)
treee416378879f60e8d538b1b25963904f767d30ff4 /Object.h
downloaddebian_htop-d3c9975943df58e293359b87905d19ff1fd52061.tar.gz
debian_htop-d3c9975943df58e293359b87905d19ff1fd52061.tar.bz2
debian_htop-d3c9975943df58e293359b87905d19ff1fd52061.zip
Imported Upstream version 0.5upstream/0.5
Diffstat (limited to 'Object.h')
-rw-r--r--Object.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/Object.h b/Object.h
new file mode 100644
index 0000000..b7497ea
--- /dev/null
+++ b/Object.h
@@ -0,0 +1,44 @@
+/* Do not edit this file. It was automatically genarated. */
+
+#ifndef HEADER_Object
+#define HEADER_Object
+/*
+htop
+(C) 2004 Hisham H. Muhammad
+Released under the GNU GPL, see the COPYING file
+in the source distribution for its full text.
+*/
+
+#include "RichString.h"
+#include "CRT.h"
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdbool.h>
+
+#include "debug.h"
+
+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*);
+
+struct Object_ {
+ char* class;
+ Method_Object_display display;
+ Method_Object_equals equals;
+ Method_Object_delete delete;
+};
+
+
+void Object_new();
+
+bool Object_instanceOf(Object* this, char* class);
+
+void Object_delete(Object* this);
+
+void Object_display(Object* this, RichString* out);
+
+bool Object_equals(const Object* this, const Object* o);
+
+#endif

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