MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / luaL_optstdstring

Function luaL_optstdstring

src/include/LuaHeader.h:192–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192inline 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//============================================================================//

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.80
luaL_optlstringFunction · 0.50

Tested by

no test coverage detected