diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-05-25 21:27:40 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-05-25 21:27:40 +0200 |
commit | 2c564512516f88b09993b2e92637440441650bcc (patch) | |
tree | 6af50445a0f48ed76b82bc4eedc4c46381cb4c52 | |
parent | 303b26115fa995808b9238f1b4814fd7a7eb2f13 (diff) |
util.h: add LEN() macro
-rw-r--r-- | util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ #include "queue.h" #define ISUTF8(c) (((c) & 0xc0) != 0x80) +#define LEN(x) (sizeof (x) / sizeof *(x)) /* feed info */ struct feed { |