| 619 | |
| 620 | |
| 621 | TValue *luaH_setstr (lua_State *L, Table *t, TString *key) { |
| 622 | const TValue *p = luaH_getstr(t, key); |
| 623 | if (p != luaO_nilobject) |
| 624 | return cast(TValue *, p); |
| 625 | else { |
| 626 | TValue k; |
| 627 | setsvalue(L, &k, key); |
| 628 | return newkey(L, t, &k); |
| 629 | } |
| 630 | } |
| 631 | |
| 632 | |
| 633 | static int unbound_search (Table *t, unsigned int j) { |
no test coverage detected