Fixed string_replace method.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@89 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e1f87cf3b3
commit
21b50a6907
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ int SWIG_main(int argc, char *argv[], Language *l, Documentation *d) {
|
|||
SWIG_mark_arg(i);
|
||||
} else if (strncmp(argv[i],"-D",2) == 0) {
|
||||
DOH *d = NewString(argv[i]+2);
|
||||
String_replace(d,(char*)"=",(char*)" ", DOH_REPLACE_ANY | DOH_REPLACE_FIRST);
|
||||
Replace(d,(char*)"=",(char*)" ", DOH_REPLACE_ANY | DOH_REPLACE_FIRST);
|
||||
SWIG_cpp_define((DOH *) d,0);
|
||||
// Create a symbol
|
||||
SWIG_mark_arg(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue