blob: 020adb38799d32940eafd2ed5493a4e3f954306e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
%module r_overload_comma
%inline %{
class r_overload_comma
{
public:
int getMember1()const {return _member1;}
void setMember1ThatEndsWithWord_get(int arg) { _member1=arg; }
void setMember1ThatEndsWithWord_get(char* arg) {_member1=atoi(arg);}
private:
int _member1;
};
%}
|