| 4856 | } |
| 4857 | |
| 4858 | static int db_get_event_sequence(Lua L) |
| 4859 | { |
| 4860 | luaL_checkudata(L, 1, dbtypes.db); |
| 4861 | if (lua_getmetatable(L, -1) == 0) |
| 4862 | return 0; |
| 4863 | lua_getfield(L, -1, "sequence"); |
| 4864 | return luabb_type(L, -1) == DBTYPES_INTEGER ? 1 : 0; |
| 4865 | } |
| 4866 | |
| 4867 | static int db_bootstrap(Lua L) |
| 4868 | { |
nothing calls this directly
no test coverage detected