fix callback

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-18 01:37:23 +00:00
commit 325a5d2eae

View file

@ -1416,7 +1416,8 @@ public:
}
Printv(f->code,"}\n",NIL);
Wrapper_print(f,f_wrappers);
add_method(symname,wname,0);
Node *p = Getattr(n, "sym:previousSibling");
add_method(symname,wname,0,p);
/* Create a shadow for this function (if enabled and not in a member function) */
if ((shadow) && (!(shadow & PYSHADOW_MEMBER))) {