Almost done with new language tools

This commit is contained in:
2023-02-14 23:03:11 -08:00
parent a93ef4208f
commit 984e3b1a73
45 changed files with 416 additions and 289 deletions

View File

@ -20,6 +20,7 @@
#define FILE_PATH_SEP '/'
#define fileMkdir(path, perms) mkdir(path, perms)
#endif
#include <errno.h>
#define FILE_BUFFER_SIZE 512
@ -31,11 +32,11 @@ namespace Dawn {
class File {
private:
FILE *file = nullptr;
enum FileMode mode;
size_t length;
public:
FILE *file = nullptr;
static std::string normalizeSlashes(std::string str);
static void mkdirp(std::string path);