| 731 | |
| 732 | |
| 733 | void luaH_setint(lua_State *L, Table *t, lua_Integer key, TValue *value) { |
| 734 | const TValue *p = luaH_getint(t, key); |
| 735 | TValue *cell; |
| 736 | if (p != luaO_nilobject) |
| 737 | cell = lua_cast(TValue *, p); |
| 738 | else { |
| 739 | TValue k; |
| 740 | setivalue(&k, key); |
| 741 | cell = luaH_newkey(L, t, &k); |
| 742 | } |
| 743 | setobj2t(L, cell, value); |
| 744 | } |
| 745 | |
| 746 | |
| 747 | static int unbound_search(Table *t, unsigned int j) { |
no test coverage detected