From 57f3697350c1a6f1934a58ac8e3083205e685f71 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 30 Jun 2012 20:34:53 +0000 Subject: Fix occasional crashes after node deletion (fix #843). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4506 a436a847-0d15-0410-975c-d299462d15a1 --- ganv/Module.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ganv') diff --git a/ganv/Module.hpp b/ganv/Module.hpp index a7b7db3..21deb91 100644 --- a/ganv/Module.hpp +++ b/ganv/Module.hpp @@ -112,6 +112,10 @@ public: } } + Port* get_port(guint index) { + return Glib::wrap(ganv_module_get_port(gobj(), index)); + } + METHOD2(ganv_module, for_each_port, GanvPortFunc, f, void*, data); METHODRET0(ganv_module, guint, num_ports); -- cgit v1.2.1