From 8d1770423470d6f6384e258b9e27056a6dda8a04 Mon Sep 17 00:00:00 2001 From: pommicket Date: Wed, 4 Jan 2023 23:36:33 -0500 Subject: finished documenting ted.h --- base.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'base.h') diff --git a/base.h b/base.h index 21ff3a3..32229e0 100644 --- a/base.h +++ b/base.h @@ -122,7 +122,10 @@ typedef unsigned long long ullong; #define PRINTF_FORMAT_STRING #endif -#define Status bool WarnUnusedResult // false = error, true = success +// this type is an alias for bool, except that it +// produces a warning if it's not used. +// false = error, true = success +#define Status bool WarnUnusedResult #define arr_count(a) (sizeof (a) / sizeof *(a)) -- cgit v1.2.3