mirror of https://github.com/ppy/SDL3-CS.git
Fix SDL_thread generation
This commit is contained in:
parent
5227b62690
commit
a64cdd9e4f
|
|
@ -79,12 +79,6 @@ namespace SDL
|
|||
[DllImport("SDL3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
|
||||
public static extern void SDL_CleanupTLS();
|
||||
|
||||
[NativeTypeName("#define SDL_BeginThreadFunction NULL")]
|
||||
public const int SDL_BeginThreadFunction = 0;
|
||||
|
||||
[NativeTypeName("#define SDL_EndThreadFunction NULL")]
|
||||
public const int SDL_EndThreadFunction = 0;
|
||||
|
||||
[NativeTypeName("#define SDL_PROP_THREAD_CREATE_ENTRY_FUNCTION_POINTER \"SDL.thread.create.entry_function\"")]
|
||||
public static ReadOnlySpan<byte> SDL_PROP_THREAD_CREATE_ENTRY_FUNCTION_POINTER => "SDL.thread.create.entry_function"u8;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,3 +8,7 @@ SDL_CreateThread=System.Runtime.Versioning
|
|||
--with-attribute
|
||||
SDL_CreateThread=UnsupportedOSPlatform("windows")
|
||||
SDL_CreateThreadWithStackSize=UnsupportedOSPlatform("windows")
|
||||
|
||||
--exclude
|
||||
SDL_BeginThreadFunction
|
||||
SDL_EndThreadFunction
|
||||
Loading…
Reference in New Issue