rename %throws to %catchs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5c5584ab40
commit
043e45ca47
6 changed files with 62 additions and 35 deletions
|
|
@ -437,8 +437,10 @@ void emit_action(Node *n, Wrapper *f) {
|
|||
SwigType *etr = SwigType_typedef_resolve_all(et);
|
||||
if (SwigType_isreference(etr) || SwigType_ispointer(etr) || SwigType_isarray(etr)) {
|
||||
Printf(eaction,"catch(%s) {", SwigType_str(et, "_e"));
|
||||
} else {
|
||||
Printf(eaction,"catch(%s) {", SwigType_str(et, "&_e"));
|
||||
} else if (SwigType_isvarargs(etr)) {
|
||||
Printf(eaction,"catch(...) {");
|
||||
} else {
|
||||
Printf(eaction,"catch(%s) {", SwigType_str(et, "&_e"));
|
||||
}
|
||||
Printv(eaction,em,"\n",NIL);
|
||||
Printf(eaction,"}\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue