feat(os): implement OsCreateDirectory - added missing 'recursive' option

This commit is contained in:
phaneron 2023-08-23 18:56:06 -04:00
parent b4e14cf4d5
commit 71fd5402c3
7 changed files with 65 additions and 32 deletions

View file

@ -158,3 +158,7 @@ int32_t OsGetCurrentDirectory(size_t pathLen, char* pathName) {
return Blizzard::File::GetWorkingDirectory(pathName, pathLen);
}
int32_t OsCreateDirectory(const char* pathName, int32_t recursive) {
}

View file

@ -68,4 +68,6 @@ int32_t OsSetCurrentDirectory(const char* pathName);
int32_t OsGetCurrentDirectory(size_t pathLen, char* pathName);
int32_t OsCreateDirectory(const char* pathName, int32_t recursive);
#endif

View file

@ -1,6 +1,8 @@
#ifndef BC_OS_PATH_HPP
#define BC_OS_PATH_HPP
#include <cstddef>
void OsGetExePath(char* buffer, size_t chars);
void OsGetExeName(char* buffer, size_t chars);