MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / addfield

Function addfield

Source/Misc/lua/src/lua.c:14681–14687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14679
14680
14681static void addfield (lua_State *L, luaL_Buffer *b, int i) {
14682lua_rawgeti(L, 1, i);
14683if (!lua_isstring(L, -1))
14684luaL_error(L, "invalid value (%s) at index %d in table for "
14685LUA_QL("concat"), luaL_typename(L, -1), i);
14686luaL_addvalue(b);
14687}
14688
14689
14690static int tconcat (lua_State *L) {

Callers 1

tconcatFunction · 0.85

Calls 4

lua_rawgetiFunction · 0.85
lua_isstringFunction · 0.85
luaL_errorFunction · 0.85
luaL_addvalueFunction · 0.85

Tested by

no test coverage detected