| 190 | } |
| 191 | |
| 192 | inline std::string luaL_optstdstring(lua_State* L, int idx, |
| 193 | const std::string& def) { |
| 194 | size_t len; |
| 195 | const char* s = luaL_optlstring(L, idx, def.c_str(), &len); |
| 196 | return std::string(s, len); |
| 197 | } |
| 198 | |
| 199 | |
| 200 | //============================================================================// |
nothing calls this directly
no test coverage detected