Fixed typemap bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
574ef19b96
commit
e35d1e417f
1 changed files with 2 additions and 3 deletions
|
|
@ -715,9 +715,8 @@ void PYTHON::create_function(char *name, char *iname, DataType *d, ParmList *l)
|
||||||
Wrapper_add_localv(f, source, "PyObject *",source,0);
|
Wrapper_add_localv(f, source, "PyObject *",source,0);
|
||||||
Printf(arglist,"&%s",source);
|
Printf(arglist,"&%s",source);
|
||||||
if (i >= (pcount-numopt))
|
if (i >= (pcount-numopt))
|
||||||
Printv(get_pointers, tab4, "if (", source, ")\n",
|
Printv(get_pointers, tab4, "if (", source, ")\n", 0);
|
||||||
tm, "\n",
|
Printv(get_pointers,tm,"\n", 0);
|
||||||
0);
|
|
||||||
Replace(get_pointers,"$argnum", argnum, DOH_REPLACE_ANY);
|
Replace(get_pointers,"$argnum", argnum, DOH_REPLACE_ANY);
|
||||||
Replace(get_pointers,"$arg",source, DOH_REPLACE_ANY);
|
Replace(get_pointers,"$arg",source, DOH_REPLACE_ANY);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue