MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / luaL_checklstring

Function luaL_checklstring

ThirdParty/lua/lua/lauxlib.c:374–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372
373
374LUALIB_API const char *luaL_checklstring (lua_State *L, int arg, size_t *len) {
375 const char *s = lua_tolstring(L, arg, len);
376 if (!s) tag_error(L, arg, LUA_TSTRING);
377 return s;
378}
379
380
381LUALIB_API const char *luaL_optlstring (lua_State *L, int arg,

Callers 15

luaB_tonumberFunction · 0.85
str_lenFunction · 0.85
str_subFunction · 0.85
str_reverseFunction · 0.85
str_lowerFunction · 0.85
str_upperFunction · 0.85
str_repFunction · 0.85
str_byteFunction · 0.85
str_find_auxFunction · 0.85
str_gsubFunction · 0.85
addquotedFunction · 0.85
str_formatFunction · 0.85

Calls 2

lua_tolstringFunction · 0.85
tag_errorFunction · 0.85

Tested by

no test coverage detected