new tree file format

This commit is contained in:
vrd
2023-02-21 22:35:45 +02:00
parent ee152edbad
commit 78408bd223
11 changed files with 286 additions and 77 deletions
+8
View File
@@ -25,6 +25,14 @@
void init();
struct MappedFile
{
char* data;
unsigned len;
};
MappedFile mapfile(const char* path);
template <class Vec>
void remove(Vec& vec, size_t pos) /* Remove from vector by moving the last element in its place */
{