MCPcopy Create free account
hub / github.com/Tencent/xLua / lua_dump

Function lua_dump

WebGLPlugins/lapi.c:1015–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1013
1014
1015LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data, int strip) {
1016 int status;
1017 TValue *o;
1018 lua_lock(L);
1019 api_checknelems(L, 1);
1020 o = L->top - 1;
1021 if (isLfunction(o))
1022 status = luaU_dump(L, getproto(o), writer, data, strip);
1023 else
1024 status = 1;
1025 lua_unlock(L);
1026 return status;
1027}
1028
1029
1030LUA_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