Skip to content

Commit e638dae

Browse files
committed
Add boxed type typedefs
1 parent 70e0e07 commit e638dae

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

include/jni/boxing.hpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ namespace jni
7777
};
7878

7979

80+
using Boolean = Object<BooleanTag>;
81+
using Byte = Object<ByteTag>;
82+
using Character = Object<CharacterTag>;
83+
using Short = Object<ShortTag>;
84+
using Integer = Object<IntegerTag>;
85+
using Long = Object<LongTag>;
86+
using Float = Object<FloatTag>;
87+
using Double = Object<DoubleTag>;
88+
89+
8090
template < class Tag, class Unboxed >
8191
struct PrimitiveTypeBoxer
8292
{

0 commit comments

Comments
 (0)