Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %rename("%(regex:/^([A-Z][a-z]+)+_(.*)/\2/)s", %$isenumitem) "";
- %module FfeFooJava
- %{
- #include "foo.h"
- }
- // some typemaps here that use some C++ classes and C structures having suffix FFE
- //.....
- %include "foo.h"
- %rename("%(regex:/^(FFE_)(.*)/\2/)s") "";
- %(regex:/SWIG_p_f_p_([A-Za-z\d_]+)/PointerOn\1/)
- SWIG_p_f_p_([A-Za-z\d_]+)
- ^ ^
- | |
- | |
- | |
- Generated prefix |
- |
- Character class allowing upper/lower cased letters,
- underscores, and digits inside class names.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement