blob: 4ecbe129f17e58aa000bcc00bdbf8277019d5cdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
%module rename_rstrip_encoder
// strip the Cls suffix from all identifiers
%rename("%(rstrip:[Cls])s") "";
%inline %{
class SomeThingCls {
};
struct AnotherThingCls {
void DoClsXCls() {}
};
%}
|