** Finish a raw "set table" operation, where 'slot' is where the value ** should have been (the result of a previous "get table"). ** Beware: when using this function you probably need to check a GC ** barrier and invalidate the TM cache. */
| 824 | ** barrier and invalidate the TM cache. |
| 825 | */ |
| 826 | void luaH_finishset (lua_State *L, Table *t, const TValue *key, |
| 827 | const TValue *slot, TValue *value) { |
| 828 | if (isabstkey(slot)) |
| 829 | luaH_newkey(L, t, key, value); |
| 830 | else |
| 831 | setobj2t(L, cast(TValue *, slot), value); |
| 832 | } |
| 833 | |
| 834 | |
| 835 | /* |
no test coverage detected