mirror of https://github.com/ppy/SDL3-CS.git
Move `SDL_Keycode` typdef to global python script to avoid duplicate definition
This commit is contained in:
parent
b97a553ed4
commit
4b1a1e2102
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -216,6 +216,7 @@ base_command = [
|
|||
"void*=IntPtr",
|
||||
"char=byte",
|
||||
"wchar_t *=IntPtr", # wchar_t has a platform-defined size
|
||||
typedef("SDL_Keycode"),
|
||||
|
||||
"--define-macro",
|
||||
"SDL_FUNCTION_POINTER_IS_VOID_POINTER",
|
||||
|
|
|
|||
Loading…
Reference in New Issue