dwww Home | Show directory contents | Find package

%module enum_ignore

// Similar to enum_missing C test, but with namespaces and using %ignore

%ignore N::C;

%inline %{
  namespace N {
    enum C { Red, Green, Blue };

    struct Draw {
      void DrawBW() {}
      void DrawC(C c) {}
      void DrawC_Ptr(C* c) {}
      void DrawC_ConstRef(C const& c) {}
    };
  }
%}


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