MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_pushlstring

Function lua_pushlstring

other_src/lua/src/lapi.cpp:467–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465
466
467LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len) {
468 lua_lock(L);
469 luaC_checkGC(L);
470 setsvalue2s(L, L->top, luaS_newlstr(L, s, len));
471 api_incr_top(L);
472 lua_unlock(L);
473}
474
475
476LUA_API void lua_pushhstring (lua_State *L,

Callers 15

pushnexttemplateFunction · 0.70
loader_CrootFunction · 0.70
modinitFunction · 0.70
pushallvaluesFunction · 0.70
str_subFunction · 0.70
push_onecaptureFunction · 0.70
add_valueFunction · 0.70
test_eofFunction · 0.70
luaL_findtableFunction · 0.70
emptybufferFunction · 0.70
lua_pushstringFunction · 0.70
GetWorldCacheFunction · 0.50

Calls 1

luaS_newlstrFunction · 0.70

Tested by 1

test_eofFunction · 0.56