massage glue api around some, add a bunch of dummy declarations

This commit is contained in:
Sven M. Hallberg 2013-01-25 18:12:00 +01:00
parent 71cdd46ceb
commit 70aaf1308c
4 changed files with 46 additions and 24 deletions

View file

@ -54,13 +54,15 @@ typedef struct HCountedArray_ {
struct HParsedToken_ **elements;
} HCountedArray;
typedef struct HBytes_ {
const uint8_t *token;
size_t len;
} HBytes;
typedef struct HParsedToken_ {
HTokenType token_type;
union {
struct {
const uint8_t *token;
size_t len;
} bytes;
HBytes bytes;
int64_t sint;
uint64_t uint;
double dbl;