Commit Graph

17 Commits

Author SHA1 Message Date
Susko3 b59358dbf5 Update bindings 2025-08-28 13:37:09 +02:00
Dan Balasescu 831d80fc10
Update bindings to 7dd5e765df239986f78c9b0016e3f3023d885084 2025-06-06 20:17:45 +09:00
hwsmm c747f1dcdd Update bindings 2025-02-20 20:49:58 +09:00
Susko3 98930ae886 Update bindings 2024-10-02 00:51:01 +01:00
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 a7cb45ee1b Update bindings to df501040fd646a1f4eab92aa5b698b35a36013ed 2024-09-03 21:25:00 +09: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
hwsmm 8fc87afcec Update bindings to e1aa99573270eac053b428cc899eebf499b44eca 2024-07-20 17:46:58 +09:00
hwsmm f12c0ae886 Update bindings to b5a7b1ca89f4187641aa25e411e69448a56955f3 2024-07-12 00:37:43 +09:00
Susko3 25c2558184 Update SDL3 bindings
Updates to https://github.com/libsdl-org/SDL/commit/%206f2621438a65abae114a7210914352b4c1d9c6c3.
This matches the binaries.
2024-05-18 12:26:03 +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 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 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