Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/exception_classname.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

14 lines
225 B
OpenEdge ABL

%module exception_classname
%warnfilter(SWIGWARN_RUBY_WRONG_NAME);
#if defined(SWIGPHP) || defined(SWIGD)
%rename(ExceptionClass) Exception;
#endif
%inline %{
class Exception {
public:
int testfunc() { return 42; }
};
%}