From d3c9975943df58e293359b87905d19ff1fd52061 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:15 +0200 Subject: Imported Upstream version 0.5 --- Object.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Object.h (limited to 'Object.h') 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 +#include +#include + +#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 -- cgit v1.2.3