MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / clearbuff

Function clearbuff

extlibs/lua/src/lobject.c:408–411  ·  view source on GitHub ↗

** empty the buffer space into the stack */

Source from the content-addressed store, hash-verified

406** empty the buffer space into the stack
407*/
408static void clearbuff (BuffFS *buff) {
409 pushstr(buff, buff->space, buff->blen); /* push buffer contents */
410 buff->blen = 0; /* space now is empty */
411}
412
413
414/*

Callers 3

getbuffFunction · 0.85
addstr2buffFunction · 0.85
luaO_pushvfstringFunction · 0.85

Calls 1

pushstrFunction · 0.85

Tested by

no test coverage detected