diff options
| author | Laurentino Luna <[email protected]> | 2022-01-18 14:30:19 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-18 18:30:19 +0100 |
| commit | 3c359ff4bcecfc02d415448fcdd137154645823a (patch) | |
| tree | 8d9bdd28cc1ee415b5e83229ebc40e492b493dae | |
| parent | bec27a6ebc05e3ff59f69a19ccf8ed268aa5fdd1 (diff) | |
| download | raylib-3c359ff4bcecfc02d415448fcdd137154645823a.tar.gz raylib-3c359ff4bcecfc02d415448fcdd137154645823a.zip | |
Review code conventions for specific defines for GetApplicationDirectory() (#2293)
Unless these imports require to have this format, the code has been adjusted to the conventions
| -rw-r--r-- | src/rcore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rcore.c b/src/rcore.c index deaf32da..eed63667 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -166,9 +166,9 @@ #ifndef MAX_PATH #define MAX_PATH 1025 #endif - __declspec(dllimport) unsigned long __stdcall GetModuleFileNameA(void* hModule, void* lpFilename, unsigned long nSize); - __declspec(dllimport) unsigned long __stdcall GetModuleFileNameW(void* hModule, void* lpFilename, unsigned long nSize); - __declspec(dllimport) int __stdcall WideCharToMultiByte(unsigned int cp, unsigned long flags, void* widestr, int cchwide, void* str, int cbmb, void* defchar, int* used_default); + __declspec(dllimport) unsigned long __stdcall GetModuleFileNameA(void *hModule, void *lpFilename, unsigned long nSize); + __declspec(dllimport) unsigned long __stdcall GetModuleFileNameW(void *hModule, void *lpFilename, unsigned long nSize); + __declspec(dllimport) int __stdcall WideCharToMultiByte(unsigned int cp, unsigned long flags, void *widestr, int cchwide, void *str, int cbmb, void *defchar, int *used_default); #elif defined(__linux__) #include <unistd.h> #elif defined(__APPLE__) |
