nitc :: ToCppCallContext :: defaultinit
class ToCppCallContext
super CppCallContext
redef fun cast_to(mtype, name)
do
if mtype isa MClassType and mtype.mclass.ftype isa ForeignCppType then
return "(void*)({name})"
else return name
end
end
src/ffi/cpp.nit:232,1--241,3