RuntimeVariable
for this C variable originating from C user code
# Create a `RuntimeVariable` for this C variable originating from C user code
private fun var_from_c(name: String, mtype: MType): RuntimeVariable
do
if mtype.is_cprimitive then
return new RuntimeVariable(name, mtype, mtype)
else
return new RuntimeVariable("{name}->value", mtype, mtype)
end
end
src/compiler/compiler_ffi/light.nit:247,2--255,4