nitc :: SeparateRuntimeFunction :: c_sig
# The C signature (only the parmeter part)
var c_sig: String is lazy do
var sig = new FlatBuffer
sig.append("({called_recv.ctype} self")
for i in [0..called_signature.arity[ do
var mp = called_signature.mparameters[i]
var mtype = mp.mtype
if mp.is_vararg then
mtype = mmethoddef.mclassdef.mmodule.array_type(mtype)
end
sig.append(", {mtype.ctype} p{i}")
end
sig.append(")")
return sig.to_s
end
src/compiler/separate_compiler.nit:2503,2--2517,4