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

Function SLJIT_CALL argToString

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

Source from the content-addressed store, hash-verified

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
21
22

Callers

nothing calls this directly

Calls 2

pushStringMethod · 0.80
__ToStringMethod · 0.45

Tested by

no test coverage detected