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
|
|
@ -1771,6 +1771,8 @@ public:
|
|||
Printf(f->code, "try {\n");
|
||||
}
|
||||
|
||||
Setattr(n, "wrap:name", wname);
|
||||
|
||||
emit_action(n, f);
|
||||
|
||||
if (director_method) {
|
||||
|
|
@ -1948,7 +1950,6 @@ public:
|
|||
if (current == CONSTRUCTOR_ALLOCATE) {
|
||||
create_command(n, symname);
|
||||
} else {
|
||||
Setattr(n, "wrap:name", wname);
|
||||
if (!Getattr(n, "sym:nextSibling"))
|
||||
dispatchFunction(n);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue