Drop non-const reference from autobox typemap macro to be consistent.

This commit is contained in:
Alan Woodland 2016-05-24 22:03:53 +01:00
commit 9ade17cc50

View file

@ -1,6 +1,6 @@
// Java typemaps for autoboxing in return types of generics
%define AUTOBOX(CTYPE, JTYPE)
%typemap(autobox) CTYPE, const CTYPE&, CTYPE& "JTYPE"
%typemap(autobox) CTYPE, const CTYPE& "JTYPE"
%enddef
AUTOBOX(double, Double)
AUTOBOX(float, Float)