summaryrefslogtreecommitdiff
path: root/Examples/ocaml/shapes/example.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/ocaml/shapes/example.i')
-rw-r--r--Examples/ocaml/shapes/example.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/Examples/ocaml/shapes/example.i b/Examples/ocaml/shapes/example.i
new file mode 100644
index 0000000..ac0fa4a
--- /dev/null
+++ b/Examples/ocaml/shapes/example.i
@@ -0,0 +1,10 @@
+/* File : example.i */
+%module(directors="1") example
+#ifndef SWIGSEXP
+%{
+ #include "example.h"
+%}
+#endif
+
+%feature("director");
+%include "example.h"