reduce polution of macro comments by using one line macros

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-03-01 23:27:03 +00:00
commit c2485c17a0

View file

@ -122,12 +122,8 @@ SWIGINTERN void SWIG_JavaException(JNIEnv *jenv, int code, const char *msg) {
}
%}
%define SWIG_exception(code, msg)
{
SWIG_JavaException(jenv, code, msg);
return $null;
}
%enddef
#define SWIG_exception(code, msg)\
{ SWIG_JavaException(jenv, code, msg); return $null; }
#endif // SWIGJAVA
#ifdef SWIGOCAML
@ -197,12 +193,8 @@ SWIGINTERN void SWIG_CSharpException(int code, const char *msg) {
}
%}
%define SWIG_exception(code, msg)
{
SWIG_CSharpException(code, msg);
return $null;
}
%enddef
#define SWIG_exception(code, msg)\
{ SWIG_CSharpException(code, msg); return $null; }
#endif // SWIGCSHARP
#ifdef SWIGLUA