MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_pushlstring

Function lua_pushlstring

lua/lapi.c:452–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450
451
452LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len) {
453 lua_lock(L);
454 luaC_checkGC(L);
455 setsvalue2s(L, L->top, luaS_newlstr(L, s, len));
456 api_incr_top(L);
457 lua_unlock(L);
458}
459
460
461LUA_API void lua_pushstring (lua_State *L, const char *s) {

Callers 13

str_subFunction · 0.85
push_onecaptureFunction · 0.85
add_valueFunction · 0.85
l_interval_tostringFunction · 0.85
l_blob_tostring_intFunction · 0.85
luaL_findtableFunction · 0.85
emptybufferFunction · 0.85
db_table_to_jsonFunction · 0.85
pushnexttemplateFunction · 0.85
loader_CrootFunction · 0.85
modinitFunction · 0.85
lua_pushstringFunction · 0.85

Calls 1

luaS_newlstrFunction · 0.85

Tested by 1

test_eofFunction · 0.68