swig/Lib/scilab/sciruntime.swg
2009-06-20 02:44:06 +00:00

9 lines
190 B
Text

%insert(runtime) %{
void SWIG_Error(int code, const char *msg) {
Scierror(code,_("%s\n"),msg);
}
#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(999, msg); } else
%}