MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / luaL_buffinit

Function luaL_buffinit

lib/lua/src/lauxlib.c:633–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631
632
633LUALIB_API void luaL_buffinit (lua_State *L, luaL_Buffer *B) {
634 B->L = L;
635 B->b = B->init.b;
636 B->n = 0;
637 B->size = LUAL_BUFFERSIZE;
638 lua_pushlightuserdata(L, (void*)B); /* push placeholder */
639}
640
641
642LUALIB_API char *luaL_buffinitsize (lua_State *L, luaL_Buffer *B, size_t sz) {

Callers 15

writerFunction · 0.85
str_gsubFunction · 0.85
str_formatFunction · 0.85
str_packFunction · 0.85
luaL_tracebackFunction · 0.85
luaL_buffinitsizeFunction · 0.85
luaL_gsubFunction · 0.85
utfcharFunction · 0.85
tconcatFunction · 0.85
setpathFunction · 0.85
pusherrornotfoundFunction · 0.85
searchpathFunction · 0.85

Calls 1

lua_pushlightuserdataFunction · 0.85

Tested by

no test coverage detected