swig/Examples/test-suite/ordering.i
William S Fulton 8c29c1aab5 fix php keyword warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 21:46:49 +00:00

30 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) {}
%}