summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index a1b0f87..e88c840 100644
--- a/common.h
+++ b/common.h
@@ -7,6 +7,8 @@
#include <string.h>
+#define ELEMSOF(A) (sizeof(A) / sizeof(*(A)))
+
int libparsesfnt_parse___(const char *data, size_t size, void *infop, size_t esize,
const char *fmt, size_t offset, size_t offset2, size_t offset3,