MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / link

Method link

src/hx/cppia/Cppia.cpp:2156–2168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2154 }
2155 const char *getName() HXCPP_OVERRIDE { return "CallMemberVTable"; }
2156 CppiaExpr *link(CppiaModule &inModule) HXCPP_OVERRIDE
2157 {
2158 if (thisExpr)
2159 thisExpr = thisExpr->link(inModule);
2160 LinkExpressions(args,inModule);
2161
2162 TypeData *type = inModule.types[funcProto->returnType];
2163 // These types may have natively been returned as ints or non-objects
2164 checkInterfaceReturnType = isInterfaceCall && (returnType==etFloat || type->isDynamic);
2165
2166 boolResult = type->haxeClass==ClassOf<bool>();
2167 return this;
2168 }
2169 ExprType getType() HXCPP_OVERRIDE { return returnType; }
2170 // ScriptCallable **vtable = (ScriptCallable **)thisVal->__GetScriptVTable();
2171

Callers

nothing calls this directly

Calls 2

LinkExpressionsFunction · 0.85
linkMethod · 0.45

Tested by

no test coverage detected