git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
30 lines
429 B
OpenEdge ABL
30 lines
429 B
OpenEdge ABL
%module ordering
|
|
|
|
// Ruby used to fail on the ordering of the two Class declarations below
|
|
|
|
struct Class {
|
|
int variable;
|
|
};
|
|
|
|
%{
|
|
struct Class {
|
|
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) {}
|
|
%}
|
|
|