MCPcopy Create free account
hub / github.com/defold/defold / luaL_checklstring

Function luaL_checklstring

engine/lua/src/lua/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 15

Sys_SaveFunction · 0.85
Sys_DeserializeFunction · 0.85
HashMD5Function · 0.85
Json_DecodeFunction · 0.85
Vector3_concatFunction · 0.85
Vector4_concatFunction · 0.85
Quat_concatFunction · 0.85
Matrix4_indexFunction · 0.85
Matrix4_newindexFunction · 0.85
Matrix4_concatFunction · 0.85
json_decodeFunction · 0.85
buffer_meth_sendFunction · 0.85

Calls 2

lua_tolstringFunction · 0.85
tag_errorFunction · 0.85

Tested by

no test coverage detected