mirror of https://github.com/ppy/SDL3-CS.git
Remove `[NativeTypeName("unsigned int")]`
This would appear a lot when bindgen is run on Linux (underlying enum type is unsigned int).
This commit is contained in:
parent
fa61d32dfc
commit
ec696f7bab
|
|
@ -338,7 +338,7 @@ namespace SDL
|
|||
|
||||
[DllImport("SDL3", CallingConvention = CallingConvention.Cdecl, EntryPoint = "SDL_uitoa", ExactSpelling = true)]
|
||||
[return: NativeTypeName("char *")]
|
||||
public static extern byte* Unsafe_SDL_uitoa([NativeTypeName("unsigned int")] uint value, [NativeTypeName("char *")] byte* str, int radix);
|
||||
public static extern byte* Unsafe_SDL_uitoa(uint value, [NativeTypeName("char *")] byte* str, int radix);
|
||||
|
||||
[DllImport("SDL3", CallingConvention = CallingConvention.Cdecl, EntryPoint = "SDL_ltoa", ExactSpelling = true)]
|
||||
[return: NativeTypeName("char *")]
|
||||
|
|
|
|||
|
|
@ -261,6 +261,9 @@ base_command = [
|
|||
"wchar_t *=IntPtr", # wchar_t has a platform-defined size
|
||||
"bool=SDLBool", # treat bool as C# helper type
|
||||
|
||||
"--nativeTypeNamesToStrip",
|
||||
"unsigned int",
|
||||
|
||||
"--define-macro",
|
||||
"SDL_FUNCTION_POINTER_IS_VOID_POINTER",
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue