| 1077 | } |
| 1078 | |
| 1079 | void fxClearEntries(txMachine* the, txSlot* table, txSlot* list, txBoolean paired) |
| 1080 | { |
| 1081 | txSlot* slot = list->value.list.first; |
| 1082 | while (slot) { |
| 1083 | slot->flag = XS_DONT_ENUM_FLAG; |
| 1084 | slot->kind = XS_UNDEFINED_KIND; |
| 1085 | slot = slot->next; |
| 1086 | } |
| 1087 | c_memset(table->value.table.address, 0, table->value.table.length * sizeof(txSlot*)); |
| 1088 | list->next->value.integer = 0; |
| 1089 | fxResizeEntries(the, table, list); |
| 1090 | fxPurgeEntries(the, list); |
| 1091 | } |
| 1092 | |
| 1093 | txBoolean fxDeleteEntry(txMachine* the, txSlot* table, txSlot* list, txSlot* key, txBoolean paired, txBoolean fit) |
| 1094 | { |
no test coverage detected