MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / lua_dump

Function lua_dump

src/Chain/libraries/glua/lapi.cpp:1103–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1101
1102
1103LUA_API int lua_dump(lua_State *L, lua_Writer writer, void *data, int strip) {
1104 int status;
1105 TValue *o;
1106 lua_lock(L);
1107 api_checknelems(L, 1);
1108 o = L->top - 1;
1109 if (isLfunction(o))
1110 status = luaU_dump(L, getproto(o), writer, data, strip);
1111 else
1112 status = 1;
1113 lua_unlock(L);
1114 return status;
1115}
1116
1117
1118LUA_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