From 7e4af27ba761b2feb2ba444f85f7889b9de4c2a6 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 21 Sep 2021 20:50:52 +0200 Subject: More work on gtk and nss3+friends --- src/include/gtkclass.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/gtkclass.h b/src/include/gtkclass.h index 9a8a512d..d70cb34b 100755 --- a/src/include/gtkclass.h +++ b/src/include/gtkclass.h @@ -9,9 +9,23 @@ typedef struct box64context_s box64context_t; typedef struct bridge_s bridge_t; +typedef struct my_GValue_s +{ + size_t g_type; + union { + int v_int; + int64_t v_int64; + uint64_t v_uint64; + float v_float; + double v_double; + void* v_pointer; + } data[2]; +} my_GValue_t; + + typedef struct my_GObjectClass_s { - int g_type_class; + size_t g_type_class; void* construct_properties; void* (*constructor) (int type, uint32_t n_construct_properties, void* construct_properties); void (*set_property) (void* object, uint32_t property_id, void* value, void* pspec); -- cgit 1.4.1