blob: 6900581cf95f1ccc6a28c3112b8e22e2f79919b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
%module exception_classname
%warnfilter(SWIGWARN_RUBY_WRONG_NAME);
#ifdef SWIGPHP
%rename(ExceptionClass) Exception;
#endif
%inline %{
class Exception {
public:
int testfunc() { return 42; }
};
%}
|