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

Function pushstr

depends/lua/src/lobject.c:390–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388
389
390static void pushstr (lua_State *L, const char *str, size_t l) {
391 setsvalue2s(L, L->top, luaS_newlstr(L, str, l));
392 luaD_inctop(L);
393}
394
395
396/*

Callers 1

luaO_pushvfstringFunction · 0.85

Calls 2

luaS_newlstrFunction · 0.85
luaD_inctopFunction · 0.85

Tested by

no test coverage detected