| 623 | |
| 624 | |
| 625 | void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) { |
| 626 | const TValue *p = luaH_getint(t, key); |
| 627 | TValue *cell; |
| 628 | if (p != luaO_nilobject) |
| 629 | cell = cast(TValue *, p); |
| 630 | else { |
| 631 | TValue k; |
| 632 | setivalue(&k, key); |
| 633 | cell = luaH_newkey(L, t, &k); |
| 634 | } |
| 635 | setobj2t(L, cell, value); |
| 636 | } |
| 637 | |
| 638 | |
| 639 | static lua_Unsigned unbound_search (Table *t, lua_Unsigned j) { |
no test coverage detected