void fx_setTimeoutRelease(const void *info) { txTimeoutData* data = (txTimeoutData*)info; fxForget(data->the, &(data->function)); fxForget(data->the, &(data->argument)); c_free(data); }
static void KprPromiseTargetDispose(void* it) { KprPromiseTarget self = it; fxForget(self->the, &self->reject); fxForget(self->the, &self->resolve); FskMemPtrDispose(self); }
void fxRemember(txMachine* the, txSlot* theSlot) { txSlot* aHeap; txSlot* aLimit; if ((the->stack <= theSlot) && (theSlot < the->stackTop)) { return; } aHeap = the->firstHeap; while (aHeap) { aLimit = aHeap->value.reference; if ((aHeap < theSlot) && (theSlot < aLimit)) { return; } aHeap = aHeap->next; } fxForget(the, theSlot); theSlot->next = the->cRoot; the->cRoot = theSlot; }
void KprFunctionTargetDispose(void* it) { KprFunctionTarget self = it; fxForget(self->the, &self->slot); FskMemPtrDispose(self); }