| 616 | |
| 617 | |
| 618 | void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) { |
| 619 | const TValue *p = luaH_getint(t, key); |
| 620 | TValue *cell; |
| 621 | if (p != luaO_nilobject) |
| 622 | cell = cast(TValue *, p); |
| 623 | else { |
| 624 | TValue k; |
| 625 | setivalue(&k, key); |
| 626 | cell = luaH_newkey(L, t, &k); |
| 627 | } |
| 628 | setobj2t(L, cell, value); |
| 629 | } |
| 630 | |
| 631 | |
| 632 | static lua_Unsigned unbound_search (Table *t, lua_Unsigned j) { |
no test coverage detected