MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / DeleteTable

Function DeleteTable

src/Chain/libraries/glua/glua_decompile.cpp:1011–1015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009}
1010
1011void DeleteTable(DecTable* tbl) {
1012 ClearList(&(tbl->keyed), (ListItemFn)ClearTableItem);
1013 ClearList(&(tbl->array), (ListItemFn)ClearTableItem);
1014 delete tbl;
1015}
1016
1017void CloseTable(Function* F, int r) {
1018 DecTable* tbl = (DecTable*)RemoveFromList(&(F->tables), FindFromListTail(&(F->tables), (ListItemCmpFn)MatchTable, &r));

Callers 1

CloseTableFunction · 0.85

Calls 1

ClearListFunction · 0.85

Tested by

no test coverage detected