MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / DumpBlock

Function DumpBlock

deps/lua/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.85
DumpHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected