commit ccca6e58ec3051020dd066aaa99fc2d0bb3a4a84
parent c1befa5221776cfdf1d176c6bc40ba6f3c9ed1d8
Author: William Casarin <jb55@jb55.com>
Date: Thu, 25 Jan 2024 15:30:34 -0800
nostrdb: 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
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nostrdb/src/str_block.h b/nostrdb/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