swig/Examples/test-suite/cpp0x_alternate_function_syntax.i
2009-07-17 11:17:01 +00:00

11 lines
185 B
OpenEdge ABL

%module cpp0x_alternate_function_syntax
%inline %{
struct SomeStruct {
auto FuncName(int x, int y) -> int;
};
auto SomeStruct::FuncName(int x, int y) -> int {
return x + y;
}
%}