Almost done with new language tools

This commit is contained in:
2023-02-14 23:03:11 -08:00
parent b7db050a5c
commit b8bab7ebed
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);