summaryrefslogtreecommitdiff
path: root/Lib/java/swiginterface.i
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2016-03-08 08:42:16 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2016-03-08 08:42:16 +0000
commite1dfad1a3b6ebfba63dc34152d0ce9889c810a0e (patch)
treec16930bb423e179d71e2f724086f0c0d4624b5fa /Lib/java/swiginterface.i
parent5117c77d4a4e2c6555fe2446252af7ff40dcac7e (diff)
downloadswig-e1dfad1a3b6ebfba63dc34152d0ce9889c810a0e.tar.gz
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.
Diffstat (limited to 'Lib/java/swiginterface.i')
-rw-r--r--Lib/java/swiginterface.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/java/swiginterface.i b/Lib/java/swiginterface.i
index e0486474e..52979ad78 100644
--- a/Lib/java/swiginterface.i
+++ b/Lib/java/swiginterface.i
@@ -56,7 +56,7 @@
%enddef
%define %interface(CTYPE...)
-%feature("interface", name="I%s") CTYPE;
+%feature("interface", name="%sSwigInterface") CTYPE;
INTERFACE_TYPEMAPS(CTYPE)
%enddef