nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

commit 588385e98757ffc43d3bbba90ff9d09b7f9d904e
parent ba86ffd06912fe7aef3eb165de5e2f0d2a59665d
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 25 Jan 2024 15:30:34 -0800

strblock: add typedef

I don't technically need this but it helps a lot on the swift side
of things since I already have code that uses this identifier of a
similar structure

Diffstat:
Msrc/str_block.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/str_block.h b/src/str_block.h @@ -4,9 +4,9 @@ #include <inttypes.h> -struct ndb_str_block { +typedef struct ndb_str_block { const char *str; uint32_t len; -}; +} str_block_t; #endif