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

Function fxForget

xs/sources/xsAPI.c:1855–1868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1853}
1854
1855void fxForget(txMachine* the, txSlot* theSlot)
1856{
1857 if (!(theSlot->flag & XS_MARK_FLAG)) {
1858 txSlot* aSlot = the->cRoot;
1859 txSlot** aSlotAddr = &(the->cRoot);
1860 while ((aSlot = *aSlotAddr)) {
1861 if (aSlot == theSlot) {
1862 *aSlotAddr = aSlot->next;
1863 return;
1864 }
1865 aSlotAddr = &(aSlot->next);
1866 }
1867 }
1868}
1869
1870void fxAccess(txMachine* the, txSlot* theSlot)
1871{

Callers 4

fx_callbackTimerFunction · 0.85
fx_clearTimerFunction · 0.85
fxRememberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected