add croak(Nullch) again and propagate exception as needed, please jason, check this one
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a853c87d5b
commit
5b113061c2
1 changed files with 1 additions and 2 deletions
|
|
@ -80,8 +80,7 @@
|
|||
|
||||
/* raise exception */
|
||||
%define %raise(obj, type, desc)
|
||||
sv_setsv(perl_get_sv("@", TRUE), obj);
|
||||
croak(Nullch);
|
||||
sv_setsv(GvSV(PL_errgv), obj);
|
||||
SWIG_fail %enddef
|
||||
|
||||
/* Include the unified typemap library */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue