dwww Home | Show directory contents | Find package

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

Generated by dwww version 1.15 on Tue Jul 2 00:31:05 CEST 2024.