MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lua_dump

Function lua_dump

lib/lua/src/lapi.c:1110–1122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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