Fixes for $wrapname to work in %exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
69771aa3aa
commit
b67e0a28a3
9 changed files with 18 additions and 14 deletions
|
|
@ -1937,6 +1937,8 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
Setattr(n, "wrap:name", wname);
|
||||
|
||||
emit_action(n, f);
|
||||
|
||||
if (director_method) {
|
||||
|
|
@ -2106,8 +2108,6 @@ public:
|
|||
Wrapper_print(f, f_wrappers);
|
||||
}
|
||||
|
||||
Setattr(n, "wrap:name", wname);
|
||||
|
||||
/* Now register the function with the interpreter. */
|
||||
if (!Getattr(n, "sym:overloaded")) {
|
||||
add_method(iname, wname, allow_kwargs, n, funpack, num_required, num_arguments);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue