Property definitions

nitc $ FromCppCallContext :: defaultinit
private class FromCppCallContext
	super CppCallContext

	redef fun cast_from(mtype, name)
	do
		if mtype isa MClassType and mtype.mclass.ftype isa ForeignCppType then
			return "static_cast<{name_mtype(mtype)}>({name})"
		else return name
	end
end
src/ffi/cpp.nit:243,1--252,3