MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / lua_dump

Function lua_dump

Source/Misc/lua/src/lua.c:2724–2736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2722
2723
2724LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) {
2725int status;
2726TValue *o;
2727lua_lock(L);
2728api_checknelems(L, 1);
2729o = L->top - 1;
2730if (isLfunction(o))
2731status = luaU_dump(L, clvalue(o)->l.p, writer, data, 0);
2732else
2733status = 1;
2734lua_unlock(L);
2735return status;
2736}
2737
2738
2739LUA_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