MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / DumpBlock

Function DumpBlock

third-party/lua-5.1.5/src/ldump.c:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27#define DumpVar(x,D) DumpMem(&x,1,sizeof(x),D)
28
29static void DumpBlock(const void* b, size_t size, DumpState* D)
30{
31 if (D->status==0)
32 {
33 lua_unlock(D->L);
34 D->status=(*D->writer)(D->L,b,size,D->data);
35 lua_lock(D->L);
36 }
37}
38
39static void DumpChar(int y, DumpState* D)
40{

Callers 2

DumpStringFunction · 0.70
DumpHeaderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected