#61 * mask for %rename selection

None
closed
nobody
None
5
2017-01-20
2008-11-03
No

Ability to rename all wxNames, except for wxEVT*

Discussion

  • Olly Betts

    Olly Betts - 2017-01-20
    • status: open --> closed
    • Group: -->
     
  • Olly Betts

    Olly Betts - 2017-01-20

    This was implemented in SWIG 2.0.1 (4 October 2010) - there's even an example of exactly what you ask for in the manual:

    // Strip the wx prefix from all identifiers except those starting with wxEVT
    %rename("%(regex:/wx(?!EVT)(.*)/\\1/)s") ""; // wxSomeWidget -> SomeWidget
                                                 // wxEVT_PAINT -> wxEVT_PAINT
    
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks