git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
46 lines
No EOL
403 B
OpenEdge ABL
46 lines
No EOL
403 B
OpenEdge ABL
%module naming
|
|
|
|
%predicate predicateMethod();
|
|
%bang bangMethod();
|
|
|
|
%inline %{
|
|
|
|
|
|
class my_class {
|
|
public:
|
|
static const int const1 = 1;
|
|
|
|
my_class() {}
|
|
|
|
int methodOne()
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
int MethodTwo()
|
|
{
|
|
return 2;
|
|
}
|
|
|
|
int Method_THREE()
|
|
{
|
|
return 3;
|
|
}
|
|
|
|
int Method44_4()
|
|
{
|
|
return 4;
|
|
}
|
|
|
|
bool predicateMethod()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
bool bangMethod()
|
|
{
|
|
return true;
|
|
}
|
|
};
|
|
|
|
%} |