SWIG_exception changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2390eebd4f
commit
8c9a2885e8
1 changed files with 0 additions and 3 deletions
|
|
@ -972,9 +972,6 @@ class JAVA : public Language {
|
||||||
/* Contract macro modification */
|
/* Contract macro modification */
|
||||||
Replaceall(f->code, "SWIG_contract_assert(", "SWIG_contract_assert($null, ");
|
Replaceall(f->code, "SWIG_contract_assert(", "SWIG_contract_assert($null, ");
|
||||||
|
|
||||||
/* Exception macro modification */
|
|
||||||
Replaceall(f->code, "SWIG_exception(", "SWIG_exception($null, ");
|
|
||||||
|
|
||||||
if(!is_void_return)
|
if(!is_void_return)
|
||||||
Replaceall(f->code,"$null","0");
|
Replaceall(f->code,"$null","0");
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue