mirror of
https://github.com/encounter/SDL.git
synced 2025-12-20 10:25:28 +00:00
Use SDLCALL for callbacks in public APIs
This commit is contained in:
committed by
Sam Lantinga
parent
ffab9f46b5
commit
0cca71a846
@@ -683,7 +683,7 @@ EnumDevObjectsCallback(LPCDIDEVICEOBJECTINSTANCE pDeviceObject, LPVOID pContext)
|
||||
/* Sort using the data offset into the DInput struct.
|
||||
* This gives a reasonable ordering for the inputs.
|
||||
*/
|
||||
static int
|
||||
static int SDLCALL
|
||||
SortDevFunc(const void *a, const void *b)
|
||||
{
|
||||
const input_t *inputA = (const input_t*)a;
|
||||
|
||||
Reference in New Issue
Block a user