'oficially' add fastdispatch option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bf862c9495
commit
3db0e56b49
7 changed files with 215 additions and 10 deletions
|
|
@ -59,7 +59,8 @@ static const char *usage1 = (const char*)"\
|
|||
-features directors,autodoc=1 \n\
|
||||
if not explicit value is given to the feature, a '1' is used \n\
|
||||
-fvirtual - Compile in virtual elimination mode\n\
|
||||
-fdispatch - Use fast dispatch mode, which produces faster overload dispatcher code\n\
|
||||
-fastdispatch - Enable fast dispatch mode, which produces faster overload dispatcher code\n\
|
||||
-nofastdispatch - Disable fast dispatch mode (default)\n\
|
||||
-Fstandard - Display error/warning messages in commonly used format\n\
|
||||
-Fmicrosoft - Display error/warning messages in Microsoft format\n\
|
||||
-help - This output\n\
|
||||
|
|
@ -389,9 +390,12 @@ void SWIG_getoptions(int argc, char *argv[])
|
|||
} else if (strcmp(argv[i],"-fvirtual") == 0) {
|
||||
Wrapper_virtual_elimination_mode_set(1);
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i],"-fdispatch") == 0) {
|
||||
} else if (strcmp(argv[i],"-fastdispatch") == 0) {
|
||||
Wrapper_fast_dispatch_mode_set(1);
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i],"-nofastdispatch") == 0) {
|
||||
Wrapper_fast_dispatch_mode_set(0);
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i],"-directors") == 0) {
|
||||
Hash *features_hash = Swig_cparse_features();
|
||||
String *name = NewString("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue