swig/Examples/test-suite/profiletest.i
Marcelo Matus 0b945f2dd3 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00

36 lines
370 B
OpenEdge ABL

%module profiletest
%inline %{
class A {
public:
A() {}
};
class B
{
A aa;
public:
B() {}
A fn(const A* a) {
return *a;
}
int fi(int a) {
return a;
}
int fj(const A* a) {
return 10;
}
B* fk(int i) {
return this;
}
const char* fl(int i) {
return "hello";
}
};
%}