| 5192 | } |
| 5193 | |
| 5194 | static void init_dbstmt_funcs(Lua L) |
| 5195 | { |
| 5196 | luaL_newmetatable(L, dbtypes.dbstmt); |
| 5197 | lua_pushvalue(L, -1); |
| 5198 | lua_setfield(L, -2, "__index"); |
| 5199 | luaL_openlib(L, NULL, dbstmt_funcs, 0); |
| 5200 | lua_pop(L, 1); |
| 5201 | } |
| 5202 | |
| 5203 | static const struct luaL_Reg dbthread_funcs[] = { |
| 5204 | {"join", dbthread_join}, |
no test coverage detected