MCPcopy Create free account
hub / github.com/DFHack/dfhack / new_localvarliteral_

Function new_localvarliteral_

depends/lua/src/lparser.c:187–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185
186
187static void new_localvarliteral_ (LexState *ls, const char *name, size_t sz) {
188 new_localvar(ls, luaX_newstring(ls, name, sz));
189}
190
191#define new_localvarliteral(ls,v) \
192 new_localvarliteral_(ls, "" v, (sizeof(v)/sizeof(char))-1)

Callers

nothing calls this directly

Calls 2

new_localvarFunction · 0.85
luaX_newstringFunction · 0.85

Tested by

no test coverage detected