nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb8950b
)
ffi/java: pointers are stored as `long` so they grow with the architecture
author
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 23 Jul 2015 17:54:20 +0000
(13:54 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Fri, 24 Jul 2015 13:44:24 +0000
(09:44 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/ffi/java.nit
patch
|
blob
|
history
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)
#