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

Function SLJIT_CALL objectToString

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

Source from the content-addressed store, hash-verified

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() ); }
291void SLJIT_CALL doubleToObject(CppiaCtx *inCtx) { inCtx->returnObject( inCtx->getFloat() ); }

Callers

nothing calls this directly

Calls 2

returnStringMethod · 0.80
getObjectMethod · 0.45

Tested by

no test coverage detected