MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / lua_pushstring

Function lua_pushstring

Source/ThirdParty/luaJIT/src/lj_api.c:592–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592LUA_API void lua_pushstring(lua_State *L, const char *str)
593{
594 if (str == NULL) {
595 setnilV(L->top);
596 } else {
597 GCstr *s;
598 lj_gc_check(L);
599 s = lj_str_newz(L, str);
600 setstrV(L, L->top, s);
601 }
602 incr_top(L);
603}
604
605LUA_API const char *lua_pushvfstring(lua_State *L, const char *fmt,
606 va_list argp)

Callers 15

settabssFunction · 0.70
lib_debug.cFile · 0.70
debug_getupvalueFunction · 0.70
hookfFunction · 0.70
lib_base.cFile · 0.70
getargsFunction · 0.70
dolibraryFunction · 0.70
pushlineFunction · 0.70
runcmdoptFunction · 0.70
dobytecodeFunction · 0.70
luaL_openlibsFunction · 0.70
lib_os.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected