From f3147ea2d1598914c2db53e8cfb34c8ff81e2ff4 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Thu, 27 Aug 2020 07:48:10 +0200 Subject: New upstream version 3.0.0 --- Object.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Object.c') diff --git a/Object.c b/Object.c index 120d28c..5edcc60 100644 --- a/Object.c +++ b/Object.c @@ -1,6 +1,7 @@ /* htop - Object.c (C) 2004-2012 Hisham H. Muhammad +(C) 2020 Red Hat, Inc. All Rights Reserved. Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ @@ -28,7 +29,7 @@ typedef void(*Object_Delete)(Object*); #define Class(class_) ((ObjectClass*)(&(class_ ## _class))) #define AllocThis(class_) (class_*) xMalloc(sizeof(class_)); Object_setClass(this, Class(class_)); - + typedef struct ObjectClass_ { const void* extends; const Object_Display display; @@ -40,6 +41,11 @@ struct Object_ { ObjectClass* klass; }; +typedef union { + int i; + void* v; +} Arg; + }*/ ObjectClass Object_class = { -- cgit v1.2.3