diff --git a/SDL3-CS/SDL3/ClangSharp/SDL_init.g.cs b/SDL3-CS/SDL3/ClangSharp/SDL_init.g.cs index 5076d55..0e83d12 100644 --- a/SDL3-CS/SDL3/ClangSharp/SDL_init.g.cs +++ b/SDL3-CS/SDL3/ClangSharp/SDL_init.g.cs @@ -23,10 +23,12 @@ 3. This notice may not be removed or altered from any source distribution. */ +using System; using System.Runtime.InteropServices; namespace SDL { + [Flags] public enum SDL_InitFlags { SDL_INIT_TIMER = 0x00000001, diff --git a/SDL3-CS/SDL3/ClangSharp/SDL_keycode.g.cs b/SDL3-CS/SDL3/ClangSharp/SDL_keycode.g.cs index 570563f..48d611b 100644 --- a/SDL3-CS/SDL3/ClangSharp/SDL_keycode.g.cs +++ b/SDL3-CS/SDL3/ClangSharp/SDL_keycode.g.cs @@ -23,6 +23,7 @@ 3. This notice may not be removed or altered from any source distribution. */ +using System; using static SDL.SDL_Scancode; namespace SDL @@ -275,6 +276,7 @@ namespace SDL SDLK_ENDCALL = (SDL_SCANCODE_ENDCALL | (1 << 30)), } + [Flags] public enum SDL_Keymod { SDL_KMOD_NONE = 0x0000, diff --git a/SDL3-CS/SDL3/ClangSharp/SDL_messagebox.g.cs b/SDL3-CS/SDL3/ClangSharp/SDL_messagebox.g.cs index fc52982..7e5ef84 100644 --- a/SDL3-CS/SDL3/ClangSharp/SDL_messagebox.g.cs +++ b/SDL3-CS/SDL3/ClangSharp/SDL_messagebox.g.cs @@ -23,11 +23,13 @@ 3. This notice may not be removed or altered from any source distribution. */ +using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace SDL { + [Flags] public enum SDL_MessageBoxFlags { SDL_MESSAGEBOX_ERROR = 0x00000010, @@ -37,6 +39,7 @@ namespace SDL SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT = 0x00000100, } + [Flags] public enum SDL_MessageBoxButtonFlags { SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 0x00000001, diff --git a/SDL3-CS/SDL3/ClangSharp/SDL_render.g.cs b/SDL3-CS/SDL3/ClangSharp/SDL_render.g.cs index 6cc9f95..e66dc17 100644 --- a/SDL3-CS/SDL3/ClangSharp/SDL_render.g.cs +++ b/SDL3-CS/SDL3/ClangSharp/SDL_render.g.cs @@ -29,6 +29,7 @@ using System.Runtime.InteropServices; namespace SDL { + [Flags] public enum SDL_RendererFlags { SDL_RENDERER_PRESENTVSYNC = 0x00000004, diff --git a/SDL3-CS/SDL3/SDL_init.rsp b/SDL3-CS/SDL3/SDL_init.rsp new file mode 100644 index 0000000..b6345b4 --- /dev/null +++ b/SDL3-CS/SDL3/SDL_init.rsp @@ -0,0 +1,5 @@ +# Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +# See the LICENCE file in the repository root for full licence text. + +--with-attribute +SDL_InitFlags=Flags diff --git a/SDL3-CS/SDL3/SDL_keycode.rsp b/SDL3-CS/SDL3/SDL_keycode.rsp new file mode 100644 index 0000000..15bb51a --- /dev/null +++ b/SDL3-CS/SDL3/SDL_keycode.rsp @@ -0,0 +1,5 @@ +# Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +# See the LICENCE file in the repository root for full licence text. + +--with-attribute +SDL_Keymod=Flags diff --git a/SDL3-CS/SDL3/SDL_messagebox.rsp b/SDL3-CS/SDL3/SDL_messagebox.rsp new file mode 100644 index 0000000..176d6b9 --- /dev/null +++ b/SDL3-CS/SDL3/SDL_messagebox.rsp @@ -0,0 +1,6 @@ +# Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +# See the LICENCE file in the repository root for full licence text. + +--with-attribute +SDL_MessageBoxFlags=Flags +SDL_MessageBoxButtonFlags=Flags diff --git a/SDL3-CS/SDL3/SDL_render.rsp b/SDL3-CS/SDL3/SDL_render.rsp new file mode 100644 index 0000000..5c2e3c1 --- /dev/null +++ b/SDL3-CS/SDL3/SDL_render.rsp @@ -0,0 +1,5 @@ +# Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +# See the LICENCE file in the repository root for full licence text. + +--with-attribute +SDL_RendererFlags=Flags