13 lines
225 B
OpenEdge ABL
13 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; }
|
|
};
|
|
%}
|