From 3b63d9fa3114f0292561484f299d9d45ec451c17 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 15 Mar 2014 22:35:18 +0000 Subject: Clean up public canvas interface. Eliminate thin C wrappers around C++ methods (move actual implementation into C). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5338 a436a847-0d15-0410-975c-d299462d15a1 --- ganv/module.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ganv/module.h') diff --git a/ganv/module.h b/ganv/module.h index 2e350a6..3ee94b5 100644 --- a/ganv/module.h +++ b/ganv/module.h @@ -31,7 +31,7 @@ G_BEGIN_DECLS #define GANV_MODULE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS((obj), GANV_TYPE_MODULE, GanvModuleClass)) typedef struct _GanvModuleClass GanvModuleClass; -typedef struct _GanvModuleImpl GanvModuleImpl; +typedef struct _GanvModuleImpl GanvModuleImpl; typedef void (*GanvPortFunc)(GanvPort* port, void* data); @@ -42,9 +42,12 @@ struct _GanvModule { struct _GanvModuleClass { GanvBoxClass parent_class; + + /* Reserved for future expansion */ + gpointer spare_vmethods [4]; }; -GType ganv_module_get_type(void); +GType ganv_module_get_type(void) G_GNUC_CONST; GanvModule* ganv_module_new(GanvCanvas* canvas, -- cgit v1.2.1