MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxEchoUnsigned

Function fxEchoUnsigned

xs/sources/xsDebug.c:3317–3327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3315
3316#ifdef mxDebug
3317void fxEchoUnsigned(txMachine* the, txUnsigned value, txInteger radix)
3318{
3319 char buffer[256];
3320 char *p = &buffer[sizeof(buffer) - 1];
3321 *p-- = 0;
3322 do {
3323 *p-- = c_read8(gxHexaDigits + (value % radix));
3324 value /= radix;
3325 } while (value);
3326 fxEcho(the, p + 1);
3327}
3328#endif
3329
3330txID fxFrameToProfilerID(txMachine* the, txSlot* frame)

Callers 1

fxSendProfilerSamplesFunction · 0.85

Calls 1

fxEchoFunction · 0.85

Tested by

no test coverage detected