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

16 lines
203 B
OpenEdge ABL

%module rename_rstrip_encoder
// strip the Cls suffix from all identifiers
%rename("%(rstrip:[Cls])s") "";
%inline %{
class SomeThingCls {
};
struct AnotherThingCls {
void DoClsXCls() {}
};
%}