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

Function lua_pushstring

other_src/lua/src/lapi.cpp:486–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484
485
486LUA_API void lua_pushstring (lua_State *L, const char *s) {
487 if (s == NULL)
488 lua_pushnil(L);
489 else
490 lua_pushlstring(L, s, strlen(s));
491}
492
493
494LUA_API const char *lua_pushvfstring (lua_State *L, const char *fmt,

Callers 15

os_tmpnameFunction · 0.70
os_getenvFunction · 0.70
os_setlocaleFunction · 0.70
treadonlyFunction · 0.70
ll_loadFunction · 0.70
ll_symFunction · 0.70
pusherrorFunction · 0.70
ll_loadlibFunction · 0.70
ll_requireFunction · 0.70
modinitFunction · 0.70
setpathFunction · 0.70
version_lFunction · 0.70

Calls 2

lua_pushnilFunction · 0.70
lua_pushlstringFunction · 0.70

Tested by

no test coverage detected