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

Class AutoFrame

src/hx/cppia/CppiaFunction.cpp:486–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484
485#ifdef CPPIA_JIT
486struct AutoFrame
487{
488 StackContext *ctx;
489 unsigned char *frame;
490
491 AutoFrame(StackContext *inCtx) : ctx(inCtx)
492 {
493 frame = ctx->frame;
494 }
495 ~AutoFrame()
496 {
497 ctx->frame = frame;
498 }
499};
500#endif
501
502

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected