본문 바로가기

Lecture & Tip/eclipse_android

JNI signature!

JNI에서 사용되는 type signature.

Java TypeJNI Typemachine dependent
C/C++ typedef
SignatureCall...Method
Get...Field
booleanjbooleanunsigned charZBoolean
bytejbytesigned charBByte
charjcharunsigned shortCChar
shortjshortshortSShort
intjintintIInt
longjlonglongJLong
floatjfloatfloatFFloat
doublejdoubledoubleDDouble
voidvoidVVoid
nonprimitivejobject*...L...;Object