| 573 | |
| 574 | |
| 575 | const TValue *luaH_getstr (Table *t, TString *key) { |
| 576 | if (key->tt == LUA_TSHRSTR) |
| 577 | return luaH_getshortstr(t, key); |
| 578 | else { /* for long strings, use generic case */ |
| 579 | TValue ko; |
| 580 | setsvalue(cast(lua_State *, NULL), &ko, key); |
| 581 | return getgeneric(t, &ko); |
| 582 | } |
| 583 | } |
| 584 | |
| 585 | |
| 586 | /* |
nothing calls this directly
no test coverage detected