mirror of
https://github.com/matrix-construct/construct
synced 2025-03-16 22:41:46 +01:00
ircd:Ⓜ️:state: Typedef an id_buffer for better public use.
This commit is contained in:
parent
9d22fe725a
commit
ec2f44f409
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ namespace ircd::m::state
|
|||
constexpr size_t NODE_MAX_DEG { NODE_MAX_KEY + 1 }; // tmp for now
|
||||
constexpr int8_t MAX_HEIGHT { 16 }; // good for few mil at any degree :)
|
||||
|
||||
using id_buffer = fixed_buffer<mutable_buffer, ID_MAX_SZ>;
|
||||
using id_closure = std::function<void (const string_view &)>;
|
||||
using val_closure = std::function<void (const string_view &)>;
|
||||
using node_closure = std::function<void (const json::object &)>;
|
||||
|
|
Loading…
Add table
Reference in a new issue