nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
243c8c8
)
ffi/java: fix support of Boolean types in JNI signature format
author
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 6 May 2014 14:55:22 +0000
(10:55 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 6 May 2014 14:55:51 +0000
(10:55 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/common_ffi/java.nit
patch
|
blob
|
history
diff --git
a/src/common_ffi/java.nit
b/src/common_ffi/java.nit
index
45b5570
..
231527c
100644
(file)
--- a/
src/common_ffi/java.nit
+++ b/
src/common_ffi/java.nit
@@
-493,7
+493,7
@@
redef class MClassType
do
var ftype = mclass.ftype
if ftype isa ForeignJavaType then return "Object"
- if mclass.name == "Bool" then return "Bool"
+ if mclass.name == "Bool" then return "Boolean"
if mclass.name == "Char" then return "Char"
if mclass.name == "Int" then return "Int"
if mclass.name == "Float" then return "Double"