git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
29 lines
274 B
OpenEdge ABL
29 lines
274 B
OpenEdge ABL
%module global_vars
|
|
|
|
%include std_string.i
|
|
|
|
%inline %{
|
|
|
|
struct A
|
|
{
|
|
int x;
|
|
};
|
|
|
|
std::string b;
|
|
A a;
|
|
A *ap;
|
|
const A *cap;
|
|
A &ar = a;
|
|
|
|
int x;
|
|
int *xp;
|
|
int& c = x;
|
|
|
|
void *vp;
|
|
|
|
enum Hello { Hi, Hola };
|
|
|
|
Hello h;
|
|
Hello *hp;
|
|
Hello &hr = h;
|
|
%}
|