| 761 | |
| 762 | |
| 763 | const TValue *luaH_getstr (Table *t, TString *key) { |
| 764 | if (key->tt == LUA_VSHRSTR) |
| 765 | return luaH_getshortstr(t, key); |
| 766 | else { /* for long strings, use generic case */ |
| 767 | TValue ko; |
| 768 | setsvalue(cast(lua_State *, NULL), &ko, key); |
| 769 | return getgeneric(t, &ko, 0); |
| 770 | } |
| 771 | } |
| 772 | |
| 773 | |
| 774 | /* |
no test coverage detected