mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +02:00
Give the constant pool its own source file
This commit is contained in:
@@ -11,35 +11,10 @@
|
||||
#define VT_NUMBER 2
|
||||
#define VT_BOOLEAN 7
|
||||
|
||||
|
||||
|
||||
|
||||
struct pool_val {
|
||||
char *s;
|
||||
int type;
|
||||
int n;
|
||||
|
||||
struct pool_val *left;
|
||||
struct pool_val *right;
|
||||
|
||||
struct pool_val *next;
|
||||
};
|
||||
|
||||
struct pool {
|
||||
struct pool_val *vals;
|
||||
|
||||
struct pool_val *head;
|
||||
struct pool_val *tail;
|
||||
int n;
|
||||
};
|
||||
|
||||
struct pool;
|
||||
|
||||
void deserialize_int(char **f, int *n);
|
||||
struct pool_val *deserialize_string(char **f, struct pool *p, int type);
|
||||
struct pool_val *pool(struct pool *p, char *s, int type);
|
||||
struct pool_val *pool_long_long(struct pool *p, long long *val, int type);
|
||||
void pool_free(struct pool *p);
|
||||
void pool_init(struct pool *p, int n);
|
||||
|
||||
|
||||
struct index {
|
||||
|
||||
Reference in New Issue
Block a user