summaryrefslogtreecommitdiffstats
path: root/call-out.c
diff options
context:
space:
mode:
Diffstat (limited to 'call-out.c')
-rw-r--r--call-out.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/call-out.c b/call-out.c
new file mode 100644
index 0000000..42279a4
--- /dev/null
+++ b/call-out.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+extern void call_in(const char *);
+
+void call_out(const char *string)
+{
+ printf("call_out(\"%s\");\n", string);
+ call_in(string);
+}