MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_dump

Function lua_dump

lua/lapi.c:882–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880
881
882LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) {
883 int status;
884 TValue *o;
885 lua_lock(L);
886 api_checknelems(L, 1);
887 o = L->top - 1;
888 if (isLfunction(o))
889 status = luaU_dump(L, clvalue(o)->l.p, writer, data, 0);
890 else
891 status = 1;
892 lua_unlock(L);
893 return status;
894}
895
896
897LUA_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