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:
William S Fulton 2008-02-25 22:07:28 +00:00
commit b67e0a28a3
9 changed files with 18 additions and 14 deletions

View file

@ -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);