MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / pushstr

Function pushstr

deps/lua/src/lobject.c:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103
104static void pushstr (lua_State *L, const char *str) {
105 setsvalue2s(L, L->top, luaS_new(L, str));
106 incr_top(L);
107}
108
109
110/* this function handles only `%d', `%c', %f, %p, and `%s' formats */

Callers 1

luaO_pushvfstringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected