refactor(marktree): embed the keymap in the MarkTree struct

This commit is contained in:
Björn Linse
2021-08-22 10:41:18 +02:00
parent b2277a4279
commit b888018aed
3 changed files with 6 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ typedef struct {
uint64_t next_id;
// TODO(bfredl): the pointer to node could be part of the larger
// Map(uint64_t, ExtmarkItem) essentially;
PMap(uint64_t) *id2node;
PMap(uint64_t) id2node[1];
} MarkTree;