• Tomaž Vajngerl's avatar
    android: use ByteBuffer to send or store pointers in JNI bindings · 515a8cf4
    Tomaž Vajngerl yazdı
    Using direct ByteBuffer is much nicer option to store or send
    pointers between C(++) code and Java via JNI as it handles endiness
    and pointer size for us. Using "long" type can have unexpected
    results in 32-bit architectures (mostly Android). This was causing
    grief especially when Android introduced support for 64-bit
    architectures starting with SDK 19.
    
    Change-Id: Ie92d0f913b668e1724e846d70d1820445d9cb086
    515a8cf4
Adı
Son kayıt (commit)
Son güncelleme
..
src Loading commit data...
.gitignore Loading commit data...
AndroidManifest.xml Loading commit data...
Makefile.shared Loading commit data...
ant.properties Loading commit data...
build.xml Loading commit data...
no-resource-compress-20.xml Loading commit data...
no-resource-compress-21.xml Loading commit data...
no-resource-compress-22.xml Loading commit data...
no-resource-compress-23.xml Loading commit data...
project.properties Loading commit data...
version.map Loading commit data...