MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / luaL_prepbuffsize

Function luaL_prepbuffsize

3rd/lua-5.4.3/src/lauxlib.c:574–576  ·  view source on GitHub ↗

** returns a pointer to a free area with at least 'sz' bytes */

Source from the content-addressed store, hash-verified

572** returns a pointer to a free area with at least 'sz' bytes
573*/
574LUALIB_API char *luaL_prepbuffsize (luaL_Buffer *B, size_t sz) {
575 return prepbuffsize(B, sz, -1);
576}
577
578
579LUALIB_API void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l) {

Callers 6

addliteralFunction · 0.85
str_formatFunction · 0.85
packintFunction · 0.85
str_packFunction · 0.85
os_dateFunction · 0.85
read_charsFunction · 0.85

Calls 1

prepbuffsizeFunction · 0.85

Tested by

no test coverage detected