Mercurial > wgsdk
diff src/include/dirtools.h @ 10:42ac054c0231
*: huge refactoring
dirtools now uses wchar (wayyy overdue)
the timer doesn't have a stupid design anymore
we don't use windows.h at all now
...
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 11 Feb 2024 19:43:31 -0500 |
parents | d91dfd53b8b4 |
children |
line wrap: on
line diff
--- a/src/include/dirtools.h Fri Dec 16 21:55:37 2022 -0500 +++ b/src/include/dirtools.h Sun Feb 11 19:43:31 2024 -0500 @@ -1,5 +1,10 @@ #ifndef __dirtools_h #define __dirtools_h -int dirtools_create_directory(char* path); -char* dirtools_concat_paths(char* a, char* b); -#endif \ No newline at end of file + +#include <windef.h> +#include <winnt.h> + +int dirtools_create_directory(LPCWSTR path); +LPWSTR dirtools_concat_paths(LPCWSTR a, LPCWSTR b); + +#endif // __dirtools_h \ No newline at end of file