| 1111 | } |
| 1112 | |
| 1113 | void AddToTable(Function* F, DecTable* tbl, std::string value, std::string key) { |
| 1114 | DecTableItem* item; |
| 1115 | List* list; |
| 1116 | if (key.length()<1) { |
| 1117 | list = &(tbl->array); |
| 1118 | item = NewTableItem(value, list->size, ""); |
| 1119 | } |
| 1120 | else { |
| 1121 | list = &(tbl->keyed); |
| 1122 | item = NewTableItem(value, 0, key); |
| 1123 | } |
| 1124 | AddToList(list, (ListItem*)item); |
| 1125 | } |
| 1126 | |
| 1127 | void SetList(GluaDecompileContextP ctx, Function* F, int a, int b, int c) { |
| 1128 | int i; |
no test coverage detected