** When a 'pset' cannot be completed, this function returns an encoding ** of its result, to be used by 'luaH_finishset'. */
| 1047 | ** of its result, to be used by 'luaH_finishset'. |
| 1048 | */ |
| 1049 | static int retpsetcode (Table *t, const TValue *slot) { |
| 1050 | if (isabstkey(slot)) |
| 1051 | return HNOTFOUND; /* no slot with that key */ |
| 1052 | else /* return node encoded */ |
| 1053 | return cast_int((cast(Node*, slot) - t->node)) + HFIRSTNODE; |
| 1054 | } |
| 1055 | |
| 1056 | |
| 1057 | static int finishnodeset (Table *t, const TValue *slot, TValue *val) { |
no outgoing calls
no test coverage detected