nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28ef6a2
)
FFI with Java: correctly resolve the return types of callback to Nit from Java
author
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 17 Jul 2014 17:25:50 +0000
(13:25 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 17 Jul 2014 17:25:50 +0000
(13:25 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/nitni/nitni_utilities.nit
patch
|
blob
|
history
diff --git
a/src/nitni/nitni_utilities.nit
b/src/nitni/nitni_utilities.nit
index
5c5b9c1
..
f6a0959
100644
(file)
--- a/
src/nitni/nitni_utilities.nit
+++ b/
src/nitni/nitni_utilities.nit
@@
-103,6
+103,7
@@
redef class MMethod
return_mtype = recv_mtype
else if signature.return_mtype != null then
return_mtype = signature.return_mtype
+ return_mtype = return_mtype.resolve_for(recv_mtype, recv_mtype, from_mmodule, true)
end
var cname = build_cname(recv_mtype, from_mmodule, suffix, length)