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
This commit is contained in:
parent
0f445779b9
commit
bcde82d45c
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue