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

Function SetTable

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

Source from the content-addressed store, hash-verified

1174}
1175
1176int SetTable(GluaDecompileContextP ctx, Function* F, int a, std::string bstr, std::string cstr) {
1177 DecTable* tbl = (DecTable*)FindFromListTail(&(F->tables), (ListItemCmpFn)MatchTable, &a);
1178 if (!tbl) {
1179 UnsetPending(ctx, F, a);
1180 return 0;
1181 }
1182 AddToTable(F, tbl, cstr, bstr);
1183 return 1;
1184}
1185
1186/*
1187** BoolOp Functions

Callers 1

ProcessCodeFunction · 0.85

Calls 3

FindFromListTailFunction · 0.85
UnsetPendingFunction · 0.85
AddToTableFunction · 0.85

Tested by

no test coverage detected