Wide range of minor bug fixes and improvements.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
22ad3083bb
commit
ce983e3203
10 changed files with 132 additions and 28 deletions
|
|
@ -992,7 +992,14 @@ PYTHON::nativefunction(DOH *node) {
|
|||
name = GetChar(node,"scriptname");
|
||||
funcname = GetChar(node,"name");
|
||||
|
||||
add_method(name, funcname,0);
|
||||
/* Figure out what kind of function this is */
|
||||
if (Swig_proto_cmp("f(p.PyObject,p.PyObject).p.PyObject",node) == 0) {
|
||||
/* Not with keyword arguments */
|
||||
add_method(name,funcname,0);
|
||||
}
|
||||
if (Swig_proto_cmp("f(p.PyObject,p.PyObject,p.PyObject).p.PyObject",node) == 0) {
|
||||
add_method(name,funcname,1);
|
||||
}
|
||||
if (shadow) {
|
||||
Printv(func, name, " = ", module, ".", name, "\n\n", 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue