summaryrefslogtreecommitdiff
path: root/src/vwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vwm.h')
-rw-r--r--src/vwm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vwm.h b/src/vwm.h
index 8bc0f7a..b7a975c 100644
--- a/src/vwm.h
+++ b/src/vwm.h
@@ -39,6 +39,7 @@
#define MIN(_a, _b) ((_a) < (_b) ? (_a) : (_b))
#define MAX(_a, _b) ((_a) > (_b) ? (_a) : (_b))
+#define NELEMS(_a) (sizeof(_a) / sizeof(_a[0]))
typedef struct _vwm_window_t vwm_window_t;
typedef struct _vwm_desktop_t vwm_desktop_t;
© All Rights Reserved