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

Function luaL_buffinit

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

Source from the content-addressed store, hash-verified

627
628
629LUALIB_API void luaL_buffinit (lua_State *L, luaL_Buffer *B) {
630 B->L = L;
631 B->b = B->init.b;
632 B->n = 0;
633 B->size = LUAL_BUFFERSIZE;
634 lua_pushlightuserdata(L, (void*)B); /* push placeholder */
635}
636
637
638LUALIB_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