summaryrefslogtreecommitdiff
path: root/src/internal/intparse.h
blob: 78e800d1dc33b87712bf32020ecfe918682e2a86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <stdint.h>
#include <stddef.h>

struct intparse {
	uintmax_t val;
	unsigned small;
	size_t cnt;
	char neg, base, state, err;
};

int __intparse(struct intparse *, const void *, size_t);