** 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. */
| 807 | ** barrier and invalidate the TM cache. |
| 808 | */ |
| 809 | void luaH_finishset (lua_State *L, Table *t, const TValue *key, |
| 810 | const TValue *slot, TValue *value) { |
| 811 | if (isabstkey(slot)) |
| 812 | luaH_newkey(L, t, key, value); |
| 813 | else |
| 814 | setobj2t(L, cast(TValue *, slot), value); |
| 815 | } |
| 816 | |
| 817 | |
| 818 | /* |
no test coverage detected