** 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. */
| 798 | ** barrier and invalidate the TM cache. |
| 799 | */ |
| 800 | void luaH_finishset (lua_State *L, Table *t, const TValue *key, |
| 801 | const TValue *slot, TValue *value) { |
| 802 | if (isabstkey(slot)) |
| 803 | luaH_newkey(L, t, key, value); |
| 804 | else |
| 805 | setobj2t(L, cast(TValue *, slot), value); |
| 806 | } |
| 807 | |
| 808 | |
| 809 | /* |
no test coverage detected