nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: adds is_extern to MMMethods and use extern_name in extern methods only
[nit.git]
/
src
/
compiling
/
compiling_icode.nit
diff --git
a/src/compiling/compiling_icode.nit
b/src/compiling/compiling_icode.nit
index
1f71a74
..
b7aeb12
100644
(file)
--- a/
src/compiling/compiling_icode.nit
+++ b/
src/compiling/compiling_icode.nit
@@
-682,7
+682,8
@@
redef class INative
fun compile_extern_method_to_c(v: I2CCompilerVisitor)
do
fun compile_extern_method_to_c(v: I2CCompilerVisitor)
do
- var ename = method.extern_name.as(not null)#"{method.module.name}_{method.local_class.name}_{method.local_class.name}_{method.name}_{method.signature.arity}"
+ var ename = method.extern_name.as(not null)
+
var sig = method.signature
assert exprs.length == sig.arity + 1
var sig = method.signature
assert exprs.length == sig.arity + 1