MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / SLJIT_CALL argToInt

Function SLJIT_CALL argToInt

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

Source from the content-addressed store, hash-verified

15
16#ifdef CPPIA_JIT
17void SLJIT_CALL argToInt(CppiaCtx *ctx) { ctx->pushInt( (* (hx::Object **)(ctx->pointer))->__ToInt() ); }
18void SLJIT_CALL argToDouble(CppiaCtx *ctx) { ctx->pushFloat( (* (hx::Object **)(ctx->pointer))->__ToDouble() ); }
19void SLJIT_CALL argToString(CppiaCtx *ctx) { ctx->pushString( (* (hx::Object **)(ctx->pointer))->__ToString() ); }
20#endif

Callers

nothing calls this directly

Calls 2

pushIntMethod · 0.80
__ToIntMethod · 0.45

Tested by

no test coverage detected