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

Function SLJIT_CALL objectToStringPointer

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

Source from the content-addressed store, hash-verified

282 *(double *)inCtx->pointer = (*(hx::Object **)inCtx->pointer)->__ToDouble();
283}
284void SLJIT_CALL objectToStringPointer(CppiaCtx *inCtx)
285{
286 *(String *)inCtx->pointer = (*(hx::Object **)inCtx->pointer)->toString();
287}
288void SLJIT_CALL objectToString(CppiaCtx *inCtx) { inCtx->returnString( inCtx->getObject() ); }
289void SLJIT_CALL stringToObject(CppiaCtx *inCtx) { inCtx->returnObject( inCtx->getString() ); }
290void SLJIT_CALL intToObject(CppiaCtx *inCtx) { inCtx->returnObject( inCtx->getInt() ); }

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected