git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
26 lines
417 B
OpenEdge ABL
26 lines
417 B
OpenEdge ABL
/*
|
|
Testcase to test c++ static member variables and static functions.
|
|
Tests Sourceforge bug #444748.
|
|
*/
|
|
|
|
%module cpp_static
|
|
|
|
%inline %{
|
|
|
|
class StaticMemberTest {
|
|
public:
|
|
static int static_int;
|
|
};
|
|
|
|
class StaticFunctionTest {
|
|
public:
|
|
static void static_func() {};
|
|
static void static_func_2(int param_1) {};
|
|
static void static_func_3(int param_1, int param_2) {};
|
|
};
|
|
|
|
%}
|
|
|
|
%{
|
|
int StaticMemberTest::static_int;
|
|
%}
|