MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_dump

Function lua_dump

extlibs/lua/src/lapi.c:1070–1082  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1068
1069
1070LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data, int strip) {
1071 int status;
1072 TValue *o;
1073 lua_lock(L);
1074 api_checknelems(L, 1);
1075 o = s2v(L->top - 1);
1076 if (isLfunction(o))
1077 status = luaU_dump(L, getproto(o), writer, data, strip);
1078 else
1079 status = 1;
1080 lua_unlock(L);
1081 return status;
1082}
1083
1084
1085LUA_API int lua_status (lua_State *L) {

Callers 3

str_dumpFunction · 0.85
dumpMethod · 0.85
dumpFunction · 0.85

Calls 1

luaU_dumpFunction · 0.85

Tested by

no test coverage detected