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

Method runObject

src/hx/cppia/Cppia.cpp:788–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786 }
787
788 hx::Object *runObject(CppiaCtx *ctx) HXCPP_OVERRIDE
789 {
790 unsigned char *pointer = ctx->pointer;
791 function->pushArgs(ctx,thisExpr?thisExpr->runObject(ctx):ctx->getThis(false),args);
792 BCR_CHECK;
793 AutoStack save(ctx,pointer);
794 if (isBoolReturn)
795 return Dynamic(ctx->runInt(function) ? true : false ).mPtr;
796 return runContextConvertObject(ctx, function->getReturnType(), function);
797 }
798
799 void runVoid(CppiaCtx *ctx) HXCPP_OVERRIDE
800 {

Callers

nothing calls this directly

Calls 7

runContextConvertObjectFunction · 0.85
pushArgsMethod · 0.80
getReturnTypeMethod · 0.80
DynamicClass · 0.50
runObjectMethod · 0.45
getThisMethod · 0.45
runIntMethod · 0.45

Tested by

no test coverage detected