Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/enum_ignore.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

21 lines
324 B
OpenEdge ABL

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