From 48bc192d262416e9466922c4b65b066ee6027d9a Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Thu, 24 Apr 2025 18:05:38 -0400 Subject: move nelem macro to util.h --- util.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 util.h (limited to 'util.h') diff --git a/util.h b/util.h new file mode 100644 index 0000000..2752bd4 --- /dev/null +++ b/util.h @@ -0,0 +1 @@ +#define nelem(arr) (sizeof(arr)/sizeof(arr[0])) -- cgit v1.2.3