We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
These attachments are available in the static archive:
Reported in version: HG 2.0 Reported for operating system, platform: All, All
On 2017-10-13 12:37:42 +0000, Ozkan Sezer wrote:
Created attachment 2982 SDLCALL patch The attached trivial patch adds missing SDLCALL to SDLTest_TrackedMalloc & co. diff --git a/src/test/SDL_test_memory.c b/src/test/SDL_test_memory.c --- a/src/test/SDL_test_memory.c +++ b/src/test/SDL_test_memory.c @@ -144,7 +144,7 @@ } } -static void *SDLTest_TrackedMalloc(size_t size) +static void * SDLCALL SDLTest_TrackedMalloc(size_t size) { void *mem; @@ -155,7 +155,7 @@ return mem; } -static void *SDLTest_TrackedCalloc(size_t nmemb, size_t size) +static void * SDLCALL SDLTest_TrackedCalloc(size_t nmemb, size_t size) { void *mem; @@ -166,7 +166,7 @@ return mem; } -static void *SDLTest_TrackedRealloc(void *ptr, size_t size) +static void * SDLCALL SDLTest_TrackedRealloc(void *ptr, size_t size) { void *mem; @@ -181,7 +181,7 @@ return mem; } -static void SDLTest_TrackedFree(void *ptr) +static void SDLCALL SDLTest_TrackedFree(void *ptr) { if (!ptr) { return;
Created attachment 2982 SDLCALL patch
The attached trivial patch adds missing SDLCALL to SDLTest_TrackedMalloc & co.
diff --git a/src/test/SDL_test_memory.c b/src/test/SDL_test_memory.c --- a/src/test/SDL_test_memory.c +++ b/src/test/SDL_test_memory.c @@ -144,7 +144,7 @@ } }
-static void *SDLTest_TrackedMalloc(size_t size) +static void * SDLCALL SDLTest_TrackedMalloc(size_t size) { void *mem;
@@ -155,7 +155,7 @@ return mem; }
-static void *SDLTest_TrackedCalloc(size_t nmemb, size_t size) +static void * SDLCALL SDLTest_TrackedCalloc(size_t nmemb, size_t size) { void *mem;
@@ -166,7 +166,7 @@ return mem; }
-static void *SDLTest_TrackedRealloc(void *ptr, size_t size) +static void * SDLCALL SDLTest_TrackedRealloc(void *ptr, size_t size) { void *mem;
@@ -181,7 +181,7 @@ return mem; }
-static void SDLTest_TrackedFree(void *ptr) +static void SDLCALL SDLTest_TrackedFree(void *ptr) { if (!ptr) { return;
On 2017-10-13 16:50:23 +0000, Sam Lantinga wrote:
Thanks! https://hg.libsdl.org/SDL/rev/8c8e18a2c390
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: HG 2.0
Reported for operating system, platform: All, All
Comments on the original bug report:
On 2017-10-13 12:37:42 +0000, Ozkan Sezer wrote:
On 2017-10-13 16:50:23 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: