Disabled the optimized shadow classes by default.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a29c7b8e6c
commit
257fda0e30
1 changed files with 4 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ Python Options (available with -python)\n\
|
|||
-module name - Set module name\n\
|
||||
-keyword - Use keyword arguments\n\
|
||||
-noopt - No optimized shadows (pre 1.5.2)\n\
|
||||
-opt - Optimized shadow classes (1.5.2 or later)\n\
|
||||
-shadow - Generate shadow classes. \n\n";
|
||||
|
||||
static String pragma_include;
|
||||
|
|
@ -89,6 +90,9 @@ void PYTHON::parse_args(int argc, char *argv[]) {
|
|||
} else if (strcmp(argv[i],"-noopt") == 0) {
|
||||
noopt = 1;
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i],"-opt") == 0) {
|
||||
noopt = 0;
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i],"-keyword") == 0) {
|
||||
use_kw = 1;
|
||||
Swig_mark_arg(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue