MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / luaL_prepbuffer

Function luaL_prepbuffer

lua/lauxlib.c:477–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475
476
477LUALIB_API char *luaL_prepbuffer (luaL_Buffer *B) {
478 if (emptybuffer(B))
479 adjuststack(B);
480 return B->buffer;
481}
482
483
484LUALIB_API void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l) {

Callers 2

read_lineFunction · 0.85
read_charsFunction · 0.85

Calls 2

emptybufferFunction · 0.85
adjuststackFunction · 0.85

Tested by

no test coverage detected