0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-19 16:30:52 +01:00

ircd:Ⓜ️:vm: Remove rogue vm::events interface.

This commit is contained in:
Jason Volk 2018-04-26 15:48:02 -07:00
parent 94b03cfe71
commit 69f6d1fe54

View file

@ -33,20 +33,6 @@ namespace ircd::m::vm
uint64_t retired_sequence();
}
namespace ircd::m::vm::events
{
using id_closure_bool = std::function<bool (const event::idx &, const event::id &)>;
using closure_bool = std::function<bool (const event::idx &, const event &)>;
// counts up from start
bool for_each(const uint64_t &start, const id_closure_bool &);
bool for_each(const uint64_t &start, const closure_bool &);
// -1 starts at newest event; counts down
bool rfor_each(const uint64_t &start, const id_closure_bool &);
bool rfor_each(const uint64_t &start, const closure_bool &);
}
struct ircd::m::vm::init
{
init();