Clean up #includes and add fields for counting attributes

This commit is contained in:
Eric Fischer
2017-07-14 16:56:23 -07:00
parent 24a182772f
commit 65c095cc2b
18 changed files with 123 additions and 10 deletions
+10
View File
@@ -1,3 +1,11 @@
#ifndef SERIAL_HPP
#define SERIAL_HPP
#include <stddef.h>
#include <stdio.h>
#include <vector>
#include "geometry.hpp"
size_t fwrite_check(const void *ptr, size_t size, size_t nitems, FILE *stream, const char *fname);
void serialize_int(FILE *out, int n, long long *fpos, const char *fname);
@@ -47,3 +55,5 @@ struct serial_feature {
};
void serialize_feature(FILE *geomfile, serial_feature *sf, long long *geompos, const char *fname, long long wx, long long wy, bool include_minzoom);
#endif