diff options
author | David Robillard <d@drobilla.net> | 2014-03-15 22:35:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-03-15 22:35:18 +0000 |
commit | 3b63d9fa3114f0292561484f299d9d45ec451c17 (patch) | |
tree | b45de3ba8d2eded5731908cf6842b4bb6392863f /ganv/edge.h | |
parent | ba34221e0ee4c32ced4770563638f472860e0a16 (diff) | |
download | ganv-3b63d9fa3114f0292561484f299d9d45ec451c17.tar.gz ganv-3b63d9fa3114f0292561484f299d9d45ec451c17.tar.bz2 ganv-3b63d9fa3114f0292561484f299d9d45ec451c17.zip |
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
Diffstat (limited to 'ganv/edge.h')
-rw-r--r-- | ganv/edge.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ganv/edge.h b/ganv/edge.h index b5c6fb0..d5c0c59 100644 --- a/ganv/edge.h +++ b/ganv/edge.h @@ -30,7 +30,7 @@ G_BEGIN_DECLS #define GANV_EDGE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS((obj), GANV_TYPE_EDGE, GanvEdgeClass)) typedef struct _GanvEdgeClass GanvEdgeClass; -typedef struct _GanvEdgeImpl GanvEdgeImpl; +typedef struct _GanvEdgeImpl GanvEdgeImpl; struct _GanvEdge { GanvItem item; @@ -39,9 +39,12 @@ struct _GanvEdge { struct _GanvEdgeClass { GanvItemClass parent_class; + + /* Reserved for future expansion */ + gpointer spare_vmethods [4]; }; -GType ganv_edge_get_type(void); +GType ganv_edge_get_type(void) G_GNUC_CONST; GanvEdge* ganv_edge_new(GanvCanvas* canvas, |