Use SDLCALL for callbacks in public APIs

This commit is contained in:
Cameron Cawley authored and Sam Lantinga committed 2022-05-18 15:01:27 -07:00
1 parent ffab9f46b5
commit 0cca71a846
15 files changed
+30 -26

No files matched your search

+1 -1
View File
@@ -362,7 +362,7 @@ typedef struct
WAVEFORMATEXTENSIBLE fmt;
} EndpointItem;
static int sort_endpoints(const void *_a, const void *_b)
static int SDLCALL sort_endpoints(const void *_a, const void *_b)
{
LPWSTR a = ((const EndpointItem *) _a)->devid;
LPWSTR b = ((const EndpointItem *) _b)->devid;