| 826 | |
| 827 | |
| 828 | void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) { |
| 829 | const TValue *p = luaH_getint(t, key); |
| 830 | if (isabstkey(p)) { |
| 831 | TValue k; |
| 832 | setivalue(&k, key); |
| 833 | luaH_newkey(L, t, &k, value); |
| 834 | } |
| 835 | else |
| 836 | setobj2t(L, cast(TValue *, p), value); |
| 837 | } |
| 838 | |
| 839 | |
| 840 | /* |
no test coverage detected