summaryrefslogtreecommitdiffstats
path: root/ganv/Module.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ganv/Module.hpp')
-rw-r--r--ganv/Module.hpp4
1 files changed, 4 insertions, 0 deletions
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);