Change the name of the interface in %feature to be more portable
Use SwigInterface as a suffix to the class name when naming the interface class instead of using a simple I as a prefix. %feature_custom can be used to use I as a prefix if so desired.
This commit is contained in:
parent
5117c77d4a
commit
e1dfad1a3b
4 changed files with 26 additions and 26 deletions
|
|
@ -56,7 +56,7 @@
|
|||
%enddef
|
||||
|
||||
%define %interface(CTYPE...)
|
||||
%feature("interface", name="I%s") CTYPE;
|
||||
%feature("interface", name="%sSwigInterface") CTYPE;
|
||||
INTERFACE_TYPEMAPS(CTYPE)
|
||||
%enddef
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue