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

Function fxDebugEvalAtom

xs/sources/xsDebug.c:297–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297txU1* fxDebugEvalAtom(txMachine* the, txU1* p, Atom* atom, txString t)
298{
299 atom->atomSize = (p[0] << 24) + (p[1] << 16) + (p[2] << 8) + p[3];
300 if ((t[0] != p[4]) || (t[1] != p[5]) || (t[2] != p[6]) || (t[3] != p[7]))
301 mxUnknownError("invalid buffer");
302 return p + 8;
303}
304
305void fxDebugEvalBuffer(txMachine* the, txString buffer, txSlot* expression)
306{

Callers 1

fxDebugEvalBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected