| 725 | |
| 726 | |
| 727 | const TValue *luaH_getstr (Table *t, TString *key) { |
| 728 | if (key->tt == LUA_VSHRSTR) |
| 729 | return luaH_getshortstr(t, key); |
| 730 | else { /* for long strings, use generic case */ |
| 731 | TValue ko; |
| 732 | setsvalue(cast(lua_State *, NULL), &ko, key); |
| 733 | return getgeneric(t, &ko); |
| 734 | } |
| 735 | } |
| 736 | |
| 737 | |
| 738 | /* |
nothing calls this directly
no test coverage detected