summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-08-25 16:15:14 +0200
committerMattias Andrée <maandree@kth.se>2021-08-25 16:15:14 +0200
commitf7cb0e83cc7462741a04fac4e2e2f26be00cd9e1 (patch)
tree41fb1e5f8b41ced7abd14990acfab520a2a87713 /common.h
parentAdd post + fix indention in hdmx (diff)
downloadlibparsesfnt-f7cb0e83cc7462741a04fac4e2e2f26be00cd9e1.tar.gz
libparsesfnt-f7cb0e83cc7462741a04fac4e2e2f26be00cd9e1.tar.bz2
libparsesfnt-f7cb0e83cc7462741a04fac4e2e2f26be00cd9e1.tar.xz
Add cmpa, bloc, bdat, sbix, and EBSC + minor fix + add language and encoding IDs
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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,