summaryrefslogtreecommitdiffstats
path: root/common.h
blob: a1b0f879a48e76aa74160545114d951c50495216 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* See LICENSE file for copyright and license details. */
#include "libparsesfnt.h"

#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>



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,
                          size_t first, size_t count, const struct libparsesfnt_tabdir_entry *tag);

#define PARSE(...) libparsesfnt_parse___(data, size, infop, sizeof(*infop), __VA_ARGS__)