nitc :: ToCCallContext :: defaultinit
# Context when calling user C code from generated code
class ToCCallContext
super CallContext
# TODO: private init because singleton instance (see `to_c_call_context`)
redef fun name_mtype(mtype)
do
if mtype isa MClassType and mtype.mclass.kind == extern_kind then return "void *"
return mtype.cname
end
end
src/ffi/light_c.nit:100,1--111,3