/trunk/Examples/test-suite/ordering.i
# · Swig · 30 lines · 21 code · 9 blank · 0 comment · 0 complexity · a0852cf9f9dc2377dacd4a315fdb9aeb MD5 · raw file
- %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) {}
- %}