nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ffi/java: pointers are stored as `long` so they grow with the architecture
[nit.git]
/
src
/
ffi
/
java.nit
diff --git
a/src/ffi/java.nit
b/src/ffi/java.nit
index
da641a5
..
dd32712
100644
(file)
--- a/
src/ffi/java.nit
+++ b/
src/ffi/java.nit
@@
-457,7
+457,7
@@
redef class MType
# JNI type name (in C)
#
# So this is a C type, usually defined in `jni.h`
- private fun jni_type: String do return "jint"
+ private fun jni_type: String do return "long"
# JNI short type name (for signatures)
#