Add the strip encoder patch from Anatoly Techtonik #2130016

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-11-01 22:52:26 +00:00
commit a604f46593
5 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,16 @@
%module rename_strip_encoder
// strip the wx prefix from all identifiers
%rename("%(strip:[wx])s") "";
%inline %{
class wxSomeWidget {
};
struct wxAnotherWidget {
void wxDoSomething() {}
};
%}