nostrdb: blocks: add word count interface
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
Daniel D’Aquino
parent
588cebd18d
commit
934ea80f85
@@ -198,3 +198,7 @@ void ndb_blocks_free(struct ndb_blocks *blocks) {
|
||||
int ndb_blocks_flags(struct ndb_blocks *blocks) {
|
||||
return blocks->flags;
|
||||
}
|
||||
|
||||
int ndb_blocks_word_count(struct ndb_blocks *blocks) {
|
||||
return blocks->words;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user