MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / loadString

Function loadString

lib/lua/src/lundump.c:136–141  ·  view source on GitHub ↗

** Load a non-nullable string into prototype 'p'. */

Source from the content-addressed store, hash-verified

134** Load a non-nullable string into prototype 'p'.
135*/
136static TString *loadString (LoadState *S, Proto *p) {
137 TString *st = loadStringN(S, p);
138 if (st == NULL)
139 error(S, "bad format for constant string");
140 return st;
141}
142
143
144static void loadCode (LoadState *S, Proto *f) {

Callers 1

loadConstantsFunction · 0.85

Calls 2

loadStringNFunction · 0.85
errorFunction · 0.70

Tested by

no test coverage detected