| 580 | |
| 581 | |
| 582 | const TValue *luaH_getstr (Table *t, TString *key) { |
| 583 | if (key->tt == LUA_TSHRSTR) |
| 584 | return luaH_getshortstr(t, key); |
| 585 | else { /* for long strings, use generic case */ |
| 586 | TValue ko; |
| 587 | setsvalue(cast(lua_State *, NULL), &ko, key); |
| 588 | return getgeneric(t, &ko); |
| 589 | } |
| 590 | } |
| 591 | |
| 592 | |
| 593 | /* |
nothing calls this directly
no test coverage detected