fix unused 'fail:' label warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3897c6c7ec
commit
a61686b243
6 changed files with 55 additions and 22 deletions
|
|
@ -34,12 +34,20 @@ private:
|
|||
XYZ* operator&(); // prevent dereferencing used in normally generated get method
|
||||
};
|
||||
%}
|
||||
|
||||
#if defined(SWIGUTL)
|
||||
%exception {
|
||||
/*
|
||||
$action
|
||||
*/
|
||||
SWIG_fail;
|
||||
}
|
||||
#else
|
||||
%exception {
|
||||
/*
|
||||
$action
|
||||
*/
|
||||
}
|
||||
#endif
|
||||
%allowexception;
|
||||
|
||||
%inline %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue