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

Function addnum2buff

third-party/lua-5.5.0/src/lobject.c:585–589  ·  view source on GitHub ↗

** Add a numeral to the buffer. */

Source from the content-addressed store, hash-verified

583** Add a numeral to the buffer.
584*/
585static void addnum2buff (BuffFS *buff, TValue *num) {
586 char numbuff[LUA_N2SBUFFSZ];
587 unsigned len = luaO_tostringbuff(num, numbuff);
588 addstr2buff(buff, numbuff, len);
589}
590
591
592/*

Callers 1

luaO_pushvfstringFunction · 0.70

Calls 2

luaO_tostringbuffFunction · 0.85
addstr2buffFunction · 0.70

Tested by

no test coverage detected