diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2016-03-01 20:42:12 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2016-03-02 07:11:09 +0000 |
commit | 4a3e1fd44c7398794a975f3d24767619b29a92f7 (patch) | |
tree | e45171d15104eb4905e0bf8131f5d20278dbb241 /CHANGES.current | |
parent | 3000824c94a8a7300056a6fb6a3b8a2664a8643e (diff) | |
download | swig-4a3e1fd44c7398794a975f3d24767619b29a92f7.tar.gz |
Add rstrip encoder for use in %rename.
This is like the strip encoder but strips the symbol's suffix instead
of the prefix.
Diffstat (limited to 'CHANGES.current')
-rw-r--r-- | CHANGES.current | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES.current b/CHANGES.current index 206b6bd68..77c628e9b 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -5,6 +5,16 @@ See the RELEASENOTES file for a summary of changes in each release. Version 3.0.9 (in progress) =========================== +2016-03-01: wsfulton + Add rstrip encoder for use in %rename. This is like the strip encoder but + strips the symbol's suffix instead of the prefix. The example below + will rename SomeThingCls to SomeThing and AnotherThingCls to AnotherThing: + + %rename("%(rstrip:[Cls])s") ""; + + class SomeThingCls {}; + struct AnotherThingCls {}; + 2016-02-07: kwwette [Octave] recognise various unary functions * Use __float__() for numeric conversions, e.g. when calling double() |