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/node.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ganv/node.h') diff --git a/ganv/node.h b/ganv/node.h index db50d1c..583d608 100644 --- a/ganv/node.h +++ b/ganv/node.h @@ -30,7 +30,7 @@ G_BEGIN_DECLS #define GANV_NODE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS((obj), GANV_TYPE_NODE, GanvNodeClass)) typedef struct _GanvNodeClass GanvNodeClass; -typedef struct _GanvNodeImpl GanvNodeImpl; +typedef struct _GanvNodeImpl GanvNodeImpl; struct _GanvNode { GanvItem item; @@ -76,9 +76,12 @@ struct _GanvNodeClass { double* y, double* dx, double* dy); + + /* Reserved for future expansion */ + gpointer spare_vmethods [4]; }; -GType ganv_node_get_type(void); +GType ganv_node_get_type(void) G_GNUC_CONST; /** * ganv_node_can_tail: -- cgit v1.2.1