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

Method CppiaStackFrame

src/hx/cppia/Cppia.h:786–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784 hx::StackContext *ctx;
785 hx::StackFrame *frame;
786 CppiaStackFrame(hx::StackContext *inCtx, hx::StackPosition *inPosition)
787 {
788 ctx = inCtx;
789 frame = (hx::StackFrame *)ctx->stackAlloc(sizeof(hx::StackFrame));
790 frame->position = inPosition;
791 #ifdef HXCPP_DEBUGGER
792 frame->variables = 0;
793 frame->catchables = 0;
794 #endif
795 inCtx->pushFrame(frame);
796 }
797 ~CppiaStackFrame()
798 {
799 ctx->popFrame(frame);

Callers

nothing calls this directly

Calls 2

stackAllocMethod · 0.80
pushFrameMethod · 0.80

Tested by

no test coverage detected