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

Function lua_dump

third-party/lua-5.2.4/src/lapi.c:997–1009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995
996
997LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) {
998 int status;
999 TValue *o;
1000 lua_lock(L);
1001 api_checknelems(L, 1);
1002 o = L->top - 1;
1003 if (isLfunction(o))
1004 status = luaU_dump(L, getproto(o), writer, data, 0);
1005 else
1006 status = 1;
1007 lua_unlock(L);
1008 return status;
1009}
1010
1011
1012LUA_API int lua_status (lua_State *L) {

Callers 1

str_dumpFunction · 0.70

Calls 1

luaU_dumpFunction · 0.70

Tested by

no test coverage detected