nitc :: ToObjCCallContext :: defaultinit
private class ToObjCCallContext
super ObjCCallContext
redef fun cast_to(mtype, name)
do
if mtype isa MClassType and mtype.mclass.ftype isa ForeignObjCType then
return "(void*)({name})"
else return name
end
end
src/ffi/objc.nit:229,1--238,3