MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / dumpString

Function dumpString

extlibs/lua/src/ldump.c:88–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

dumpConstantsFunction · 0.85
dumpDebugFunction · 0.85
dumpFunctionFunction · 0.85

Calls 1

dumpSizeFunction · 0.85

Tested by

no test coverage detected