summaryrefslogtreecommitdiff
path: root/Examples/ocaml/stl
diff options
context:
space:
mode:
authorArt Yerkes <ayerkes@speakeasy.net>2003-06-06 04:34:27 +0000
committerArt Yerkes <ayerkes@speakeasy.net>2003-06-06 04:34:27 +0000
commitbcde82d45cee36bceff92a688747e3ebab235565 (patch)
tree5480e46d2c7183eb55a86c0a1824390c397d5357 /Examples/ocaml/stl
parent0f445779b95d66eb3e3cda8df125f4ffbd70d053 (diff)
downloadswig-bcde82d45cee36bceff92a688747e3ebab235565.tar.gz
Added defines to enable possibly-conflicting extras provided by ocaml module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/ocaml/stl')
-rw-r--r--Examples/ocaml/stl/example.i5
1 files changed, 2 insertions, 3 deletions
diff --git a/Examples/ocaml/stl/example.i b/Examples/ocaml/stl/example.i
index 3bbea0f47..19a80a605 100644
--- a/Examples/ocaml/stl/example.i
+++ b/Examples/ocaml/stl/example.i
@@ -3,11 +3,10 @@
#include "example.h"
%}
+#define ENABLE_CHARPTR_ARRAY
+#define ENABLE_STRING_VECTOR
%include stl.i
%feature("director");
-namespace std {
- %template(StringVector) std::vector<string>;
-};
%include example.h