summaryrefslogtreecommitdiff
path: root/Examples/ocaml/strings_test/example.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/ocaml/strings_test/example.i')
-rw-r--r--Examples/ocaml/strings_test/example.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/Examples/ocaml/strings_test/example.i b/Examples/ocaml/strings_test/example.i
new file mode 100644
index 0000000..be9eabf
--- /dev/null
+++ b/Examples/ocaml/strings_test/example.i
@@ -0,0 +1,14 @@
+%module example
+%{
+#include <iostream>
+#include <string>
+
+using std::cin;
+using std::cout;
+using std::endl;
+using std::string;
+
+#include "example.h"
+%}
+
+%include example.h