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

Method createInstance

src/hx/cppia/CppiaClasses.cpp:364–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362*/
363
364hx::Object *CppiaClassInfo::createInstance(CppiaCtx *ctx,Expressions &inArgs, bool inCallNew)
365{
366 hx::Object *obj = haxeBase->factory(vtable,extraData);
367
368 createDynamicFunctions(obj);
369
370 if (newFunc && inCallNew)
371 runFunExpr(ctx, newFunc->funExpr, obj, inArgs );
372
373 return obj;
374}
375
376hx::Object *CppiaClassInfo::createInstance(CppiaCtx *ctx,Array<Dynamic> &inArgs)
377{

Callers 4

ConstructEmptyMethod · 0.80
ConstructArgsMethod · 0.80
SLJIT_CALL allocHaxeFunction · 0.80
runObjectMethod · 0.80

Calls 2

runFunExprFunction · 0.85
runFunExprDynamicVoidFunction · 0.85

Tested by

no test coverage detected