aboutsummaryrefslogtreecommitdiff
path: root/template.c
diff options
context:
space:
mode:
Diffstat (limited to 'template.c')
-rw-r--r--template.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/template.c b/template.c
new file mode 100644
index 0000000..98f1b7f
--- /dev/null
+++ b/template.c
@@ -0,0 +1,8 @@
+/* glue code for compiling "template" as a library
+ * this calls the setup function of each object
+ */
+void mycobject_setup(void);
+
+void template_setup(void) {
+ mycobject_setup();
+}