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

@ -337,6 +337,8 @@ static void replace_contract_args(Parm *cp, Parm *rp, String *s) {
* Emits action code for a wrapper and checks for exception handling
* ----------------------------------------------------------------------------- */
int emit_action_code(Node *n, Wrapper *f, String *eaction) {
assert(Getattr(n, "wrap:name"));
/* Look for except feature */
String *tm = GetFlagAttr(n, "feature:except");
if (tm)