diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-05-26 10:26:12 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-05-26 10:45:45 -0400 |
commit | 89969b4b0bea3bd4cddf97c989ca63f3a1aaa07c (patch) | |
tree | 58a244a7121a0000313b2044c139df2340e72ee1 /src/trie.h | |
parent | 6fa72ff42d95dfd883d59ce7cf6bdc74abebf015 (diff) | |
download | bfs-89969b4b0bea3bd4cddf97c989ca63f3a1aaa07c.tar.xz |
Add support for __attribute__((counted_by(...)))
Diffstat (limited to 'src/trie.h')
-rw-r--r-- | src/trie.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ struct trie_leaf { /** The length of the key in bytes. */ size_t length; /** The key itself, stored inline. */ - char key[]; + char key[] _counted_by(length); }; /** |