try not to require -api option in octave
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
55170f0f88
commit
b81cb3bff9
2 changed files with 24 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ public:
|
|||
director_multiple_inheritance = 1;
|
||||
director_language = 1;
|
||||
docs = NewHash();
|
||||
api_version = 37;
|
||||
api_version = 0;
|
||||
}
|
||||
|
||||
virtual void main(int argc, char *argv[]) {
|
||||
|
|
@ -138,7 +138,7 @@ public:
|
|||
Printf(f_runtime, "#define SWIGOCTAVE\n");
|
||||
Printf(f_runtime, "#define SWIG_name_d \"%s\"\n", module);
|
||||
Printf(f_runtime, "#define SWIG_name %s\n", module);
|
||||
Printf(f_runtime, "#define USE_OCTAVE_API_VERSION %i\n", api_version);
|
||||
Printf(f_runtime, "#define OCTAVE_API_VERSION_OPTION %i\n", api_version);
|
||||
|
||||
if (directorsEnabled()) {
|
||||
Printf(f_runtime, "#define SWIG_DIRECTORS\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue