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

Function clearbuff

third-party/lua-5.4.6/src/lobject.c:428–431  ·  view source on GitHub ↗

** empty the buffer space into the stack */

Source from the content-addressed store, hash-verified

426** empty the buffer space into the stack
427*/
428static void clearbuff (BuffFS *buff) {
429 pushstr(buff, buff->space, buff->blen); /* push buffer contents */
430 buff->blen = 0; /* space now is empty */
431}
432
433
434/*

Callers 3

getbuffFunction · 0.70
addstr2buffFunction · 0.70
luaO_pushvfstringFunction · 0.70

Calls 1

pushstrFunction · 0.70

Tested by

no test coverage detected