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

Function CloseTable

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

Source from the content-addressed store, hash-verified

1015}
1016
1017void CloseTable(Function* F, int r) {
1018 DecTable* tbl = (DecTable*)RemoveFromList(&(F->tables), FindFromListTail(&(F->tables), (ListItemCmpFn)MatchTable, &r));
1019 DeleteTable(tbl);
1020 IS_TABLE(r) = 0;
1021}
1022
1023void PrintTableItemNumeric(std::stringstream &str, DecTableItem* item) {
1024 const auto &value = item->value;

Callers 1

PrintTableFunction · 0.85

Calls 3

RemoveFromListFunction · 0.85
FindFromListTailFunction · 0.85
DeleteTableFunction · 0.85

Tested by

no test coverage detected