| 817 | |
| 818 | |
| 819 | void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) { |
| 820 | const TValue *p = luaH_getint(t, key); |
| 821 | if (isabstkey(p)) { |
| 822 | TValue k; |
| 823 | setivalue(&k, key); |
| 824 | luaH_newkey(L, t, &k, value); |
| 825 | } |
| 826 | else |
| 827 | setobj2t(L, cast(TValue *, p), value); |
| 828 | } |
| 829 | |
| 830 | |
| 831 | /* |
no test coverage detected