From ccca6e58ec3051020dd066aaa99fc2d0bb3a4a84 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Thu, 25 Jan 2024 15:30:34 -0800 Subject: [PATCH] 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 --- nostrdb/src/str_block.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nostrdb/src/str_block.h b/nostrdb/src/str_block.h index 16c6de01..1eb4e2a9 100644 --- a/nostrdb/src/str_block.h +++ b/nostrdb/src/str_block.h @@ -4,9 +4,9 @@ #include -struct ndb_str_block { +typedef struct ndb_str_block { const char *str; uint32_t len; -}; +} str_block_t; #endif