tft args
This commit is contained in:
+6
-3
@@ -23,15 +23,18 @@
|
||||
/* return lhs; */
|
||||
/* } */
|
||||
|
||||
void init();
|
||||
|
||||
using fd_t = int; /* file descriptor */
|
||||
struct MappedFile
|
||||
{
|
||||
char* data;
|
||||
unsigned len;
|
||||
};
|
||||
|
||||
MappedFile mapfile(const char* path);
|
||||
void init();
|
||||
|
||||
|
||||
MappedFile mapfile(fd_t);
|
||||
fd_t openOrDie(const char* path);
|
||||
|
||||
template <class Vec>
|
||||
void remove(Vec& vec, size_t pos) /* Remove from vector by moving the last element in its place */
|
||||
|
||||
Reference in New Issue
Block a user