MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaL_buffinit

Function luaL_buffinit

third-party/lua-5.5.0/src/lauxlib.c:661–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659
660
661LUALIB_API void luaL_buffinit (lua_State *L, luaL_Buffer *B) {
662 B->L = L;
663 B->b = B->init.b;
664 B->n = 0;
665 B->size = LUAL_BUFFERSIZE;
666 lua_pushlightuserdata(L, (void*)B); /* push placeholder */
667}
668
669
670LUALIB_API char *luaL_buffinitsize (lua_State *L, luaL_Buffer *B, size_t sz) {

Callers 15

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

Calls 1

lua_pushlightuserdataFunction · 0.70

Tested by

no test coverage detected