https://github.com/mapbox/tippecanoe
Revision daafdc39a4305fcc1459fa1ee030e8a985f329bc authored by Eric Fischer on 11 June 2016, 00:17:00 UTC, committed by Eric Fischer on 11 June 2016, 00:17:00 UTC
1 parent 73c3c90
Raw File
Tip revision: daafdc39a4305fcc1459fa1ee030e8a985f329bc authored by Eric Fischer on 11 June 2016, 00:17:00 UTC
Use chain pointers instead of copying
Tip revision: daafdc3
memfile.hpp
struct memfile {
	int fd;
	char *map;
	long long len;
	long long off;
	long long tree;
};

struct memfile *memfile_open(int fd);
int memfile_close(struct memfile *file);
int memfile_write(struct memfile *file, void *s, long long len);
back to top