| 443 | |
| 444 | |
| 445 | PLUTOLIB_API std::string pluto_checkstring (lua_State *L, int arg) { |
| 446 | size_t len; |
| 447 | const char *str = luaL_checklstring(L, arg, &len); |
| 448 | return std::string(str, len); |
| 449 | } |
| 450 | |
| 451 | |
| 452 | PLUTOLIB_API std::string pluto_optstring (lua_State *L, int arg, std::string def) { |
nothing calls this directly
no test coverage detected