Commit Graph

10 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
Susko3 fb08ccb2ce Remove SDL_bool define patche
This doesn't compile as true/false can't be converted to `enum SDL_bool`
2024-09-22 00:51:50 +01:00
hwsmm 15e2c5442d Update bindings to ace6920d4433599e99083892fc12495239ee3d61 2024-08-28 22:04:50 +09:00
hwsmm 61fb6d840b Update bindings to 4f343f96b4624dac7632fca58438c1664c06a10d 2024-08-05 22:42:50 +09:00
hwsmm e96b0ebb39 Update bindings to 53022aeb5e539dda5a97ea5dead7b2be62aaf912 2024-07-26 01:00:35 +09:00
Susko3 f1b7b2caf6 Update bindings to SDL commit 0429f5d6a36fc35b551bcc2acd4a40c2db6dab82 2024-04-15 19:37:01 +02:00
Susko3 9e44316535 Fix invalid `int` -> `SDL_bool` conversion by manually changing SDL headers 2024-04-06 13:33:00 +02:00
Susko3 409ecf7536 Add C# enum "typedefs" for C typedefs
This doesn't compile as ClangSharp fails to emit `unchecked`
in `SDL_pen.g.cs` and `SDL_touch.g.cs`.
And `(SDL_bool)` casts in `SDL_rect.g.cs`.
2024-04-06 13:32:55 +02:00
Susko3 1512bef026 Initial SDL3-CS binding project with ClangSharp
The bindings don't yet compile. There are errors in SDL_pixels.g.cs, SDL_stdinc.g.cs and SDL_thread.g.cs,
a bunch of warnings about "Function like macro definition records are not supported",
and a few "Info: Potential missing remapping".

Built on SDL commit:
6ad390fc50
2024-04-06 00:57:07 +02:00