Move `SDL_Keycode` typdef to global python script to avoid duplicate definition

This commit is contained in:
Susko3 2024-04-06 13:47:08 +02:00
parent b97a553ed4
commit 4b1a1e2102
2 changed files with 1 additions and 10 deletions

View File

@ -1,10 +0,0 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
namespace SDL
{
[Typedef]
public enum SDL_Keycode : Int32;
}

View File

@ -216,6 +216,7 @@ base_command = [
"void*=IntPtr", "void*=IntPtr",
"char=byte", "char=byte",
"wchar_t *=IntPtr", # wchar_t has a platform-defined size "wchar_t *=IntPtr", # wchar_t has a platform-defined size
typedef("SDL_Keycode"),
"--define-macro", "--define-macro",
"SDL_FUNCTION_POINTER_IS_VOID_POINTER", "SDL_FUNCTION_POINTER_IS_VOID_POINTER",