Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
390
static 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_pushvfstring
Function · 0.85
Calls
2
luaS_newlstr
Function · 0.85
luaD_inctop
Function · 0.85
Tested by
no test coverage detected