Drop non-const reference from autobox typemap macro to be consistent.
This commit is contained in:
parent
b09fce84a4
commit
9ade17cc50
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
// Java typemaps for autoboxing in return types of generics
|
// Java typemaps for autoboxing in return types of generics
|
||||||
%define AUTOBOX(CTYPE, JTYPE)
|
%define AUTOBOX(CTYPE, JTYPE)
|
||||||
%typemap(autobox) CTYPE, const CTYPE&, CTYPE& "JTYPE"
|
%typemap(autobox) CTYPE, const CTYPE& "JTYPE"
|
||||||
%enddef
|
%enddef
|
||||||
AUTOBOX(double, Double)
|
AUTOBOX(double, Double)
|
||||||
AUTOBOX(float, Float)
|
AUTOBOX(float, Float)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue