nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc61db
)
src/ffi: do not declare the impl signature before the custom C code
author
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 16 Jun 2015 23:16:50 +0000
(19:16 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 18 Jun 2015 11:33:27 +0000
(07:33 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/ffi/light_c.nit
patch
|
blob
|
history
diff --git
a/src/ffi/light_c.nit
b/src/ffi/light_c.nit
index
86ec651
..
e0cd788
100644
(file)
--- a/
src/ffi/light_c.nit
+++ b/
src/ffi/light_c.nit
@@
-48,7
+48,7
@@
class CLanguage
var fc = new ExternCFunction(m, mmodule)
fc.decls.add( block.location.as_line_pragma )
fc.exprs.add( block.code )
- ecc.add_exported_function( fc )
+ ecc.body_impl.add fc.to_writer
end
redef fun compile_extern_class(block, m, ecc, mmodule) do end