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

Function SLJIT_CALL objToStr

src/hx/cppia/CppiaCompiler.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 *outString = String(inVal);
58}
59static void SLJIT_CALL objToStr(hx::Object *inVal, String *outString)
60{
61 *outString = inVal ? inVal->toString() : String();
62}
63int SLJIT_CALL objToInt(hx::Object *inVal)
64{
65 return inVal ? inVal->__ToInt() : 0;

Callers

nothing calls this directly

Calls 2

StringClass · 0.50
toStringMethod · 0.45

Tested by

no test coverage detected