Files
tippecanoe/pool.hpp
T

15 lines
319 B
C++

#ifndef POOL_HPP
#define POOL_HPP
struct stringpool {
unsigned long left = 0;
unsigned long right = 0;
unsigned long off = 0;
size_t hash; // hash of the string at this node
};
long long addpool(struct memfile *poolfile, struct memfile *treefile, const char *s, char type, std::vector<ssize_t> &dedup);
#endif