diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-04-24 18:05:38 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-04-24 18:05:38 -0400 |
| commit | 48bc192d262416e9466922c4b65b066ee6027d9a (patch) | |
| tree | 77ab002bbc0ee27a2374209161c38e32bd4b776b | |
| parent | e515fe68d878a320e7548080d31b07eee0d791af (diff) | |
| download | volute-48bc192d262416e9466922c4b65b066ee6027d9a.zip | |
move nelem macro to util.h
| -rw-r--r-- | util.h | 1 | ||||
| -rw-r--r-- | widget.c | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -0,0 +1 @@ +#define nelem(arr) (sizeof(arr)/sizeof(arr[0])) @@ -3,9 +3,7 @@ #include "microui.h" #include "widget.h" - - -#define nelem(arr) (sizeof(arr)/sizeof(arr[0])) +#include "util.h" #define FORMAT "%.5g" |