MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaL_checklstring

Function luaL_checklstring

third-party/lua-5.1.5/src/lauxlib.c:158–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157
158LUALIB_API const char *luaL_checklstring (lua_State *L, int narg, size_t *len) {
159 const char *s = lua_tolstring(L, narg, len);
160 if (!s) tag_error(L, narg, LUA_TSTRING);
161 return s;
162}
163
164
165LUALIB_API const char *luaL_optlstring (lua_State *L, int narg,

Callers 14

luaB_loadstringFunction · 0.70
str_lenFunction · 0.70
str_subFunction · 0.70
str_reverseFunction · 0.70
str_lowerFunction · 0.70
str_upperFunction · 0.70
str_repFunction · 0.70
str_byteFunction · 0.70
str_find_auxFunction · 0.70
str_gsubFunction · 0.70
addquotedFunction · 0.70
str_formatFunction · 0.70

Calls 2

lua_tolstringFunction · 0.70
tag_errorFunction · 0.70

Tested by

no test coverage detected