| 518 | |
| 519 | |
| 520 | TValue *luaH_setstr (lua_State *L, Table *t, TString *key) { |
| 521 | const TValue *p = luaH_getstr(t, key); |
| 522 | if (p != luaO_nilobject) |
| 523 | return cast(TValue *, p); |
| 524 | else { |
| 525 | TValue k; |
| 526 | setsvalue(L, &k, key); |
| 527 | return newkey(L, t, &k); |
| 528 | } |
| 529 | } |
| 530 | |
| 531 | |
| 532 | static int unbound_search (Table *t, unsigned int j) { |
no test coverage detected