https://github.com/mapbox/tippecanoe
Raw File
Tip revision: ca6384fbbc3e61890b77d9192b2b13756f4d8685 authored by Eric Fischer on 22 March 2018, 23:05:14 UTC
Merge branch 'master' into vtzero3
Tip revision: ca6384f
memfile.hpp
#ifndef MEMFILE_HPP
#define MEMFILE_HPP

struct memfile {
	int fd = 0;
	char *map = NULL;
	long long len = 0;
	long long off = 0;
	unsigned long tree = 0;
};

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

#endif
back to top