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

Method runFloat

src/hx/cppia/Cppia.cpp:366–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364 return body->runInt(ctx);
365 }
366 Float runFloat(CppiaCtx *ctx) HXCPP_OVERRIDE
367 {
368 unsigned char *pointer = ctx->pointer;
369 ctx->push( ctx->getThis(false) );
370 AutoStack save(ctx,pointer);
371 addStackVarsSpace(ctx);
372 CPPIA_STACK_FRAME(this);
373 CPPIA_STACK_LINE(this);
374 return body->runFloat(ctx);
375 }
376 hx::Object *runObject(CppiaCtx *ctx) HXCPP_OVERRIDE
377 {
378 unsigned char *pointer = ctx->pointer;

Callers

nothing calls this directly

Calls 3

pushMethod · 0.45
getThisMethod · 0.45
runFloatMethod · 0.45

Tested by

no test coverage detected