summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-08-09 00:26:14 -0400
committerTest_User <hax@andrewyu.org>2023-08-09 00:26:14 -0400
commitb557bac23688b304fbab0a766a2e3e93db78f429 (patch)
treefa360957d972b2d0f8522615eb94fbd1935e9671 /types.h
parentac1f2aaadd927e8187edabaea9a788425bb42b9f (diff)
downloadcoupserv-b557bac23688b304fbab0a766a2e3e93db78f429.tar.gz
coupserv-b557bac23688b304fbab0a766a2e3e93db78f429.zip
Various improvements, a few more bugs added to fix later
Diffstat (limited to 'types.h')
-rw-r--r--types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.h b/types.h
index af89dd2..2251bcc 100644
--- a/types.h
+++ b/types.h
@@ -37,4 +37,5 @@ struct string {
};
#define STRING(x) (struct string){x, sizeof(x)-1}
+#define NULSTR(x) (struct string){x, strlen(x)}
#define WRITES(x, y) write(x, y.data, y.len)