Commit Graph

8 Commits

Author SHA1 Message Date
Susko3 4f32e5fb4e Add SDLBool with implicit bool conversions 2024-09-22 02:03:16 +01:00
Susko3 fa7121a2c4 Update SDL bindings
This brings in the removal of SDL_bool, making it C# `byte`
2024-09-22 01:15:09 +01:00
hwsmm 03f3773985 Update bindings to b15fab0207004282aaf0ab0643fd08579121c88a 2024-09-12 12:32:58 +09:00
hwsmm 15e2c5442d Update bindings to ace6920d4433599e99083892fc12495239ee3d61 2024-08-28 22:04:50 +09:00
Susko3 dfe2b5b251 Remap C `void *` to C# `IntPtr` 2024-04-06 12:34:11 +02:00
Susko3 53f98fece1 Map C `char` to C# `byte` instead of `sbyte`
This matches .NET's UTF-8 `ReadOnlySpan<byte>` (see `SDL_hints.g.cs`).
2024-04-06 12:31:32 +02:00
Susko3 4ed850c6f3 Exclude `SDL_main()` from DllImport as it isn't exported by SDL3.dll 2024-04-06 01:59:38 +02:00
Susko3 2ccdcb04b3 Add platform specific generation for `SDL_main.h` and `SDL_system.h`
Doesn't compile because of duplicate `_XEvent` definitions.
Linux fails crossgen on Windows due to missing `endian.h`
2024-04-06 01:31:16 +02:00