MCPcopy Create free account
hub / github.com/crownengine/crown / lua_pushstring

Function lua_pushstring

3rdparty/luajit/src/lj_api.c:658–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

656}
657
658LUA_API void lua_pushstring(lua_State *L, const char *str)
659{
660 if (str == NULL) {
661 setnilV(L->top);
662 } else {
663 GCstr *s;
664 lj_gc_check(L);
665 s = lj_str_newz(L, str);
666 setstrV(L, L->top, s);
667 }
668 incr_top(L);
669}
670
671LUA_API const char *lua_pushvfstring(lua_State *L, const char *fmt,
672 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
createargtableFunction · 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