@@ -26,11 +26,11 @@ class SDL_Thread(ctypes.c_void_p):
26
26
SDL_CreateThreadRuntime : abc .Callable [..., typing .Any ] = SDL_FUNC ["SDL_CreateThreadRuntime" , SDL_POINTER [SDL_Thread ], [SDL_ThreadFunction , ctypes .c_char_p , ctypes .c_void_p , SDL_FunctionPointer , SDL_FunctionPointer ], SDL_BINARY ]
27
27
SDL_CreateThreadWithPropertiesRuntime : abc .Callable [..., typing .Any ] = SDL_FUNC ["SDL_CreateThreadWithPropertiesRuntime" , SDL_POINTER [SDL_Thread ], [SDL_PropertiesID , SDL_FunctionPointer , SDL_FunctionPointer ], SDL_BINARY ]
28
28
29
- SDL_CreateThread : abc .Callable [[SDL_ThreadFunction , ctypes .c_char_p , ctypes .c_void_p ], SDL_POINTER [SDL_Thread ]] = lambda fn , name , data : \
30
- SDL_CreateThreadRuntime (fn , name , data , SDL_BeginThreadFunction , SDL_EndThreadFunction )
29
+ SDL_CreateThread : abc .Callable [[SDL_ThreadFunction , ctypes .c_char_p , ctypes .c_void_p ], SDL_POINTER [SDL_Thread ]] = \
30
+ lambda fn , name , data : SDL_CreateThreadRuntime (fn , name , data , SDL_BeginThreadFunction , SDL_EndThreadFunction )
31
31
32
- SDL_CreateThreadWithProperties : abc .Callable [[SDL_PropertiesID ], SDL_POINTER [SDL_Thread ]] = lambda props : \
33
- SDL_CreateThreadWithPropertiesRuntime (props , SDL_BeginThreadFunction , SDL_EndThreadFunction )
32
+ SDL_CreateThreadWithProperties : abc .Callable [[SDL_PropertiesID ], SDL_POINTER [SDL_Thread ]] = \
33
+ lambda props : SDL_CreateThreadWithPropertiesRuntime (props , SDL_BeginThreadFunction , SDL_EndThreadFunction )
34
34
35
35
SDL_PROP_THREAD_CREATE_ENTRY_FUNCTION_POINTER : bytes = "SDL.thread.create.entry_function" .encode ()
36
36
SDL_PROP_THREAD_CREATE_NAME_STRING : bytes = "SDL.thread.create.name" .encode ()
0 commit comments