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

Function PiuDie_empty

modules/piu/MC/piuDie.c:245–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void PiuDie_empty(xsMachine* the)
246{
247 PiuDie* self = PIU(Die, xsThis);
248 if (!PiuRegionEmpty((*self)->work))
249 xsErrorPrintf("region overflowed");
250 xsResult = xsThis;
251}
252
253void PiuDie_cut(xsMachine* the)
254{

Callers

nothing calls this directly

Calls 1

PiuRegionEmptyFunction · 0.85

Tested by

no test coverage detected