MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_dump

Function lua_dump

other_src/lua/src/lapi.cpp:911–923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

909
910
911LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) {
912 int status;
913 TValue *o;
914 lua_lock(L);
915 api_checknelems(L, 1);
916 o = L->top - 1;
917 if (isLfunction(o))
918 status = luaU_dump(L, clvalue(o)->l.p, writer, data, 0);
919 else
920 status = 1;
921 lua_unlock(L);
922 return status;
923}
924
925
926LUA_API int lua_status (lua_State *L) {

Callers 1

str_dumpFunction · 0.70

Calls 1

luaU_dumpFunction · 0.70

Tested by

no test coverage detected