| 578 | |
| 579 | |
| 580 | void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) { |
| 581 | const TValue *p = luaH_getint(t, key); |
| 582 | TValue *cell; |
| 583 | if (p != luaO_nilobject) |
| 584 | cell = cast(TValue *, p); |
| 585 | else { |
| 586 | TValue k; |
| 587 | setivalue(&k, key); |
| 588 | cell = luaH_newkey(L, t, &k); |
| 589 | } |
| 590 | setobj2t(L, cell, value); |
| 591 | } |
| 592 | |
| 593 | |
| 594 | static int unbound_search (Table *t, unsigned int j) { |
no test coverage detected