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

Function fxPrintID

xs/sources/xsProfile.c:376–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376void fxPrintID(txMachine* the, FILE* file, txID id)
377{
378 if (id != XS_NO_ID) {
379 txBoolean adorn;
380 txString string = fxGetKeyString(the, id, &adorn);
381 if (adorn)
382 fprintf(file, "[");
383 fxPrintString(the, file, string);
384 if (adorn)
385 fprintf(file, "]");
386 }
387 else
388 fprintf(file, "?");
389}
390
391void fxPrintProfiler(txMachine* the, void* stream)
392{

Callers 1

fxPrintProfilerFunction · 0.70

Calls 2

fxGetKeyStringFunction · 0.85
fxPrintStringFunction · 0.85

Tested by

no test coverage detected