MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaL_pushresult

Function luaL_pushresult

third-party/lua-5.3.5/src/lauxlib.c:542–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540
541
542LUALIB_API void luaL_pushresult (luaL_Buffer *B) {
543 lua_State *L = B->L;
544 lua_pushlstring(L, B->b, B->n);
545 if (buffonstack(B)) {
546 resizebox(L, -2, 0); /* delete old buffer */
547 lua_remove(L, -2); /* remove its header from the stack */
548 }
549}
550
551
552LUALIB_API void luaL_pushresultsize (luaL_Buffer *B, size_t sz) {

Callers 14

str_dumpFunction · 0.70
str_gsubFunction · 0.70
str_formatFunction · 0.70
str_packFunction · 0.70
luaL_pushresultsizeFunction · 0.70
luaL_gsubFunction · 0.70
utfcharFunction · 0.70
tconcatFunction · 0.70
searchpathFunction · 0.70
findloaderFunction · 0.70
os_dateFunction · 0.70
read_lineFunction · 0.70

Calls 3

lua_pushlstringFunction · 0.70
resizeboxFunction · 0.70
lua_removeFunction · 0.50

Tested by

no test coverage detected