git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
20 lines
341 B
OpenEdge ABL
20 lines
341 B
OpenEdge ABL
%module special_variables
|
|
|
|
// will fail to compile if $symname is not expanded
|
|
%typemap(argout) int i {
|
|
$symname(99);
|
|
}
|
|
|
|
%{
|
|
#define KKK_testmethod testmethod
|
|
#define KKK_teststaticmethod KKK::teststaticmethod
|
|
%}
|
|
|
|
%inline %{
|
|
void testmethod(int i) {}
|
|
struct KKK {
|
|
void testmethod(int i) {}
|
|
static void teststaticmethod(int i) {}
|
|
};
|
|
%}
|
|
|