MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / lua_dump

Function lua_dump

lua/src/lapi.c:1113–1125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1111
1112
1113LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data, int strip) {
1114 int status;
1115 TValue *o;
1116 lua_lock(L);
1117 api_checknelems(L, 1);
1118 o = s2v(L->top - 1);
1119 if (isLfunction(o))
1120 status = luaU_dump(L, getproto(o), writer, data, strip);
1121 else
1122 status = 1;
1123 lua_unlock(L);
1124 return status;
1125}
1126
1127
1128LUA_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