From 3c359ff4bcecfc02d415448fcdd137154645823a Mon Sep 17 00:00:00 2001 From: Laurentino Luna <81370009+catmanl@users.noreply.github.com> Date: Tue, 18 Jan 2022 14:30:19 -0300 Subject: [PATCH] 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 --- src/rcore.c | 6 +++--- 1 file 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 #elif defined(__APPLE__)