summaryrefslogtreecommitdiffstats
path: root/ganv/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'ganv/module.h')
-rw-r--r--ganv/module.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ganv/module.h b/ganv/module.h
index f1c4f2c..718756b 100644
--- a/ganv/module.h
+++ b/ganv/module.h
@@ -54,6 +54,10 @@ ganv_module_new(GanvCanvas* canvas,
guint
ganv_module_num_ports(const GanvModule* module);
+/**
+ * ganv_module_get_port:
+ * Return value: (transfer none): The port on @module at @index.
+ */
GanvPort*
ganv_module_get_port(GanvModule* module,
guint index);