Files
cpp-thirdparty/winx64/bin/swigwin-4.0.0/Examples/test-suite/ordering.i
2019-08-04 21:38:19 -05:00

31 lines
429 B
OpenEdge ABL

%module ordering
// Ruby used to fail on the ordering of the two Class declarations below
struct Klass {
int variable;
};
%{
struct Klass {
int variable;
};
%}
// Testing the order of various code block sections
%runtime %{
class RuntimeSection {};
%}
%header %{
class HeaderSection {};
void HeaderMethod(RuntimeSection rs) {}
%}
%wrapper %{
void WrapperMethod(HeaderSection hs, RuntimeSection rs) {}
%}