Dan Balasescu
dcea5f47c3
Hack around missing process.h on Unix systems
...
Co-authored-by: Susko3 <Susko3@protonmail.com>
2024-10-24 19:34:51 +09:00
Dan Balasescu
04c71afe67
Remove now unnecessary undefines
2024-10-24 19:19:00 +09:00
Susko3
69c7e23842
Fix 64-bit integers on `x86_64-linux-gnu`
...
The __LP64__ macros work fine on aarch64, but they don't seem to do much on x86_64
2024-10-24 10:44:19 +01:00
Dan Balasescu
520ae0ebc7
Remove duplicate definition
2024-10-24 16:26:44 +09:00
Dan Balasescu
e7c8dec375
Merge branch 'master' into dockerfile
2024-10-24 16:18:48 +09:00
Susko3
11228b67aa
Ensure consistent representation of 64-bit integer constants
...
by providing custom definitions of `SDL_{S,U}INT64_C`.
Made possible by https://github.com/libsdl-org/SDL/pull/11315
2024-10-24 01:18:39 +01:00
Susko3
4831863919
Update SDL and bindings
2024-10-24 01:18:31 +01:00
Susko3
ec696f7bab
Remove `[NativeTypeName("unsigned int")]`
...
This would appear a lot when bindgen is run on Linux (underlying enum type is unsigned int).
2024-10-24 00:52:29 +01:00
Susko3
fa61d32dfc
Exclude symbols that don't work cross-platform
...
As seen when trying to build on Linux in #169 .
Removes:
- Windows-specific begin/end thread symbols that don't do anything
- Things that statically depend on `size_t`
- 64-bit printf specifiers that depend on int64_t definition
(long vs long long)
2024-10-24 00:48:29 +01:00
Dan Balasescu
ed43193103
Force `int` as base type
2024-10-23 17:03:25 +09:00
Dan Balasescu
140e73678d
Fix va_list for another platform
2024-10-23 17:03:09 +09:00
Dan Balasescu
c991b5bd06
Forward args to python script
...
Co-authored-by: Susko3 <Susko3@protonmail.com>
2024-10-22 19:42:16 +09:00
Dan Balasescu
a64cdd9e4f
Fix SDL_thread generation
2024-10-22 18:16:41 +09:00
Dan Balasescu
5227b62690
Add dockerfile + generation wrapper script
2024-10-22 17:52:46 +09:00
Susko3
5ab6d58b9e
Update comment
2024-10-22 09:27:28 +01:00
Susko3
e5a7980b9e
Exclude `enum`s from platform-specific bindgen
2024-10-22 09:20:55 +01:00
Susko3
c7fdd26674
Update bindings (to illustrate problem)
...
Duplicate `SDL_Sandbox` definitions prevent compiling.
2024-10-22 09:11:15 +01:00
hwsmm
c51cad1aa7
Update bindings to 1cc85c912bb3352a121b1fdc181c6ab6546157df
2024-10-14 14:15:39 +09:00
Susko3
05c7ec057c
Add some missing macros
2024-10-02 02:13:12 +01:00
Susko3
98930ae886
Update bindings
2024-10-02 00:51:01 +01:00
Susko3
b968192607
Add way to run bindgen on a subset of headers
...
Useful for testing changes that affect specific headers.
2024-09-22 14:28:44 +01:00
hwsmm
df84a111c7
Fix endianness in SDL_pixel
2024-09-22 13:43:13 +09: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
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
Susko3
5fbda17ae9
Fix python formatting
2024-09-22 00:44:50 +01:00
Dan Balasescu
a035dd9f99
Reset git tree before generate/build
2024-09-18 17:55:45 +09:00
Dan Balasescu
e207e72b6a
Move + update build scripts to use submodule
2024-09-18 13:42:08 +09:00
hwsmm
4792b4667b
Add a new SDL_Process bindings
2024-09-15 11:06:03 +09:00
Susko3
312410a279
Add missing Win32 and GDK functions
...
For now, SDL_GDKSuspendGPU and SDL_GDKResumeGPU from SDL_gpu.h are missing
from auto-generated bindings. We can add them manually if needed.
These missing funtions cause warnings to be logged when running `generate_bindings.py`.
2024-09-15 01:48:46 +01:00
Susko3
edb9a6b69d
Update bindings to 93bf53426840fd052da2aeb6d5a5a6f380f4c21a
...
Importantly, this brings in a fix for SDL's gendynapi.py throwing an error.
2024-09-15 01:37:32 +01:00
hwsmm
03f3773985
Update bindings to b15fab0207004282aaf0ab0643fd08579121c88a
2024-09-12 12:32:58 +09:00
hwsmm
00c2991885
Update bindings to 73898a0a6493c43943dc675ad1eccd03e16ba0d7
2024-09-03 21:25:00 +09:00
hwsmm
a7cb45ee1b
Update bindings to df501040fd646a1f4eab92aa5b698b35a36013ed
2024-09-03 21:25:00 +09:00
hwsmm
9f75280505
Fix tests
2024-08-28 22:46:24 +09:00
hwsmm
15e2c5442d
Update bindings to ace6920d4433599e99083892fc12495239ee3d61
2024-08-28 22:04:50 +09:00
hwsmm
5235b75dd3
Update bindings to 9eac3a434e328bd6f7470eb59076dcf7dae237be
2024-08-22 22:21:40 +09:00
hwsmm
dbff763b5c
Update bindings to f93920a4f16c4d16f6cd3797191e7894542dac4b
2024-08-11 14:06:24 +09:00
hwsmm
aed3cb24dd
Update bindings to a1998d106daf1ed1c30ff7a2dfb2a9c7c34d4040
2024-08-06 20:08:00 +09:00
hwsmm
61fb6d840b
Update bindings to 4f343f96b4624dac7632fca58438c1664c06a10d
2024-08-05 22:42:50 +09:00
hwsmm
1b1c59046b
Update bindings to 35e42d0a254f230bb736cf993a9c3855ea1680a1
2024-07-28 14:32:21 +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
Susko3
cffad94b9b
Avoid casting
2024-07-14 15:49:53 +02:00
hwsmm
f12c0ae886
Update bindings to b5a7b1ca89f4187641aa25e411e69448a56955f3
2024-07-12 00:37:43 +09:00
hwsmm
25defdb451
Update bindings to f7877902436eae72e3931b2d9ab9d213e095baab
2024-07-02 23:40:58 +09:00
hwsmm
69a12ff56b
Apply suggestions from Susko3
2024-07-02 21:55:34 +09:00
hwsmm
3daf817a01
Update bindings to 596c0af0f319157d748b00d369240a9177a3132f
2024-06-26 01:41:00 +09:00
Susko3
60ecee4eb1
Pack Android native libs in `ppy.SDL3-CS`
2024-05-23 22:06:31 +02: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