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:
parent
f2c11f74f9
commit
a604f46593
5 changed files with 69 additions and 0 deletions
|
|
@ -3,6 +3,20 @@
|
|||
Version 1.3.37 (in progress)
|
||||
============================
|
||||
|
||||
2008-11-01: wsfulton
|
||||
Add the strip encoder patch from Anatoly Techtonik #2130016. This enables an
|
||||
easy way to rename symbols by stripping a commonly used prefix in all the
|
||||
function/struct names. It works in the same way as the other encoders, such as
|
||||
title, lower, command etc outlined in CHANGES file dated 12/30/2005. Example
|
||||
below will rename wxAnotherWidget to AnotherWidget and wxDoSomething to
|
||||
DoSomething:
|
||||
|
||||
%rename("%(strip:[wx])s") "";
|
||||
|
||||
struct wxAnotherWidget {
|
||||
void wxDoSomething();
|
||||
};
|
||||
|
||||
2008-09-26: mutandiz
|
||||
[allegrocl]
|
||||
Lots of test-suite work.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue