| 843 | |
| 844 | |
| 845 | void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) { |
| 846 | const TValue *p = luaH_getint(t, key); |
| 847 | if (isabstkey(p)) { |
| 848 | TValue k; |
| 849 | setivalue(&k, key); |
| 850 | luaH_newkey(L, t, &k, value); |
| 851 | } |
| 852 | else |
| 853 | setobj2t(L, cast(TValue *, p), value); |
| 854 | } |
| 855 | |
| 856 | |
| 857 | /* |
no test coverage detected