mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 13:07:40 +03:00
12 lines
362 B
OpenEdge ABL
12 lines
362 B
OpenEdge ABL
![]() |
// Java typemaps for autoboxing in return types of generics
|
||
|
%define AUTOBOX(CTYPE, JTYPE)
|
||
|
%typemap(autobox) CTYPE, const CTYPE&, CTYPE& "JTYPE"
|
||
|
%enddef
|
||
|
AUTOBOX(double, Double)
|
||
|
AUTOBOX(float, Float)
|
||
|
AUTOBOX(boolean, Boolean)
|
||
|
AUTOBOX(signed char, Byte)
|
||
|
AUTOBOX(short, Short)
|
||
|
AUTOBOX(int, Integer)
|
||
|
AUTOBOX(long, Long)
|
||
|
AUTOBOX(SWIGTYPE, $typemap(jstype,$1_basetype))
|