MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / init_dbtable_funcs

Function init_dbtable_funcs

lua/sp.c:5083–5090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5081}
5082
5083static void init_dbtable_funcs(Lua L)
5084{
5085 luaL_newmetatable(L, dbtypes.dbtable);
5086 lua_pushvalue(L, -1);
5087 lua_setfield(L, -2, "__index");
5088 luaL_openlib(L, NULL, dbtable_funcs, 0);
5089 lua_pop(L, 1);
5090}
5091
5092
5093static void add_tran_funcs(Lua L)

Callers 1

create_sp_intFunction · 0.85

Calls 3

luaL_newmetatableFunction · 0.85
lua_pushvalueFunction · 0.85
lua_setfieldFunction · 0.85

Tested by

no test coverage detected