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

Function lua_dump

ThirdParty/lua/lua/lapi.c:987–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

985
986
987LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data, int strip) {
988 int status;
989 TValue *o;
990 lua_lock(L);
991 api_checknelems(L, 1);
992 o = L->top - 1;
993 if (isLfunction(o))
994 status = luaU_dump(L, getproto(o), writer, data, strip);
995 else
996 status = 1;
997 lua_unlock(L);
998 return status;
999}
1000
1001
1002LUA_API int lua_status (lua_State *L) {

Callers 1

str_dumpFunction · 0.85

Calls 1

luaU_dumpFunction · 0.85

Tested by

no test coverage detected