| 391 | |
| 392 | |
| 393 | LUALIB_API const char *luaL_checklstring(lua_State *L, int arg, size_t *len) { |
| 394 | const char *s = lua_tolstring(L, arg, len); |
| 395 | if (!s) tag_error(L, arg, LUA_TSTRING); |
| 396 | return s; |
| 397 | } |
| 398 | |
| 399 | |
| 400 | LUALIB_API const char *luaL_optlstring(lua_State *L, int arg, |
no test coverage detected