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

Function str_dump

third-party/lua-5.2.4/src/lstrlib.c:174–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173
174static int str_dump (lua_State *L) {
175 luaL_Buffer b;
176 luaL_checktype(L, 1, LUA_TFUNCTION);
177 lua_settop(L, 1);
178 luaL_buffinit(L,&b);
179 if (lua_dump(L, writer, &b) != 0)
180 return luaL_error(L, "unable to dump given function");
181 luaL_pushresult(&b);
182 return 1;
183}
184
185
186

Callers

nothing calls this directly

Calls 6

luaL_checktypeFunction · 0.70
lua_settopFunction · 0.70
luaL_buffinitFunction · 0.70
lua_dumpFunction · 0.70
luaL_errorFunction · 0.70
luaL_pushresultFunction · 0.70

Tested by

no test coverage detected