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

Function fxEchoAddress

xs/sources/xsDebug.c:1257–1269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1255}
1256
1257void fxEchoAddress(txMachine* the, txSlot* theSlot)
1258{
1259 uintptr_t aValue = (uintptr_t)theSlot;
1260 int aShift;
1261
1262 fxEcho(the, " value=\"@");
1263 aShift = (8 * sizeof(aValue)) - 4;
1264 while (aShift >= 0) {
1265 fxEchoCharacter(the, c_read8(gxHexaDigits + ((aValue >> aShift) & 0x0F)));
1266 aShift -= 4;
1267 }
1268 fxEcho(the, "\"");
1269}
1270
1271void fxEchoArrayBuffer(txMachine* the, txSlot* theInstance, txInspectorNameList* theList)
1272{

Callers 6

fxEchoInstanceFunction · 0.85
fxEchoModuleFunction · 0.85
fxEchoPropertyInstanceFunction · 0.85
fxListFramesFunction · 0.85
fxListLocalFunction · 0.85
fxListModulesFunction · 0.85

Calls 2

fxEchoFunction · 0.85
fxEchoCharacterFunction · 0.85

Tested by

no test coverage detected