MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / luaL_prepbuffer

Function luaL_prepbuffer

deps/lua/src/lauxlib.c:429–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427
428
429LUALIB_API char *luaL_prepbuffer (luaL_Buffer *B) {
430 if (emptybuffer(B))
431 adjuststack(B);
432 return B->buffer;
433}
434
435
436LUALIB_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