summaryrefslogtreecommitdiff
path: root/trunk/Examples/ocaml/stl/example.i
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/Examples/ocaml/stl/example.i')
-rw-r--r--trunk/Examples/ocaml/stl/example.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/trunk/Examples/ocaml/stl/example.i b/trunk/Examples/ocaml/stl/example.i
new file mode 100644
index 000000000..19a80a605
--- /dev/null
+++ b/trunk/Examples/ocaml/stl/example.i
@@ -0,0 +1,12 @@
+%module example
+%{
+#include "example.h"
+%}
+
+#define ENABLE_CHARPTR_ARRAY
+#define ENABLE_STRING_VECTOR
+%include stl.i
+
+%feature("director");
+
+%include example.h