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

Function dumpString

third-party/lua-5.4.6/src/ldump.c:92–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91
92static void dumpString (DumpState *D, const TString *s) {
93 if (s == NULL)
94 dumpSize(D, 0);
95 else {
96 size_t size = tsslen(s);
97 const char *str = getstr(s);
98 dumpSize(D, size + 1);
99 dumpVector(D, str, size);
100 }
101}
102
103
104static void dumpCode (DumpState *D, const Proto *f) {

Callers 3

dumpConstantsFunction · 0.70
dumpDebugFunction · 0.70
dumpFunctionFunction · 0.70

Calls 1

dumpSizeFunction · 0.70

Tested by

no test coverage detected