MCPcopy Create free account
hub / github.com/F-Stack/f-stack / addfield

Function addfield

freebsd/contrib/openzfs/module/lua/ltablib.c:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82
83static void addfield (lua_State *L, luaL_Buffer *b, int i) {
84 lua_rawgeti(L, 1, i);
85 if (!lua_isstring(L, -1))
86 luaL_error(L, "invalid value (%s) at index %d in table for "
87 LUA_QL("concat"), luaL_typename(L, -1), i);
88 luaL_addvalue(b);
89}
90
91
92static int tconcat (lua_State *L) {

Callers 1

tconcatFunction · 0.70

Calls 4

lua_rawgetiFunction · 0.70
lua_isstringFunction · 0.70
luaL_errorFunction · 0.70
luaL_addvalueFunction · 0.70

Tested by

no test coverage detected