Explorar el Código

SDL_thread.h: use SDL_ThreadFunction for SDL_CreateThreadWithStackSize

Ozkan Sezer hace 4 años
padre
commit
efa2e6a1ea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      include/SDL_thread.h

+ 1 - 1
include/SDL_thread.h

@@ -129,7 +129,7 @@ SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data,
                  pfnSDL_CurrentEndThread pfnEndThread);
                  pfnSDL_CurrentEndThread pfnEndThread);
 
 
 extern DECLSPEC SDL_Thread *SDLCALL
 extern DECLSPEC SDL_Thread *SDLCALL
-SDL_CreateThreadWithStackSize(int (SDLCALL * fn) (void *),
+SDL_CreateThreadWithStackSize(SDL_ThreadFunction fn,
                  const char *name, const size_t stacksize, void *data,
                  const char *name, const size_t stacksize, void *data,
                  pfnSDL_CurrentBeginThread pfnBeginThread,
                  pfnSDL_CurrentBeginThread pfnBeginThread,
                  pfnSDL_CurrentEndThread pfnEndThread);
                  pfnSDL_CurrentEndThread pfnEndThread);