Dan Balasescu
d7bb3244da
Merge remote-tracking branch 'upstream/update-ios-binaries'
2024-04-13 03:22:12 +09:00
Dan Balasescu
28e96050cc
Merge remote-tracking branch 'upstream/update-linux-x64-binaries'
2024-04-13 03:22:10 +09:00
Dan Balasescu
c646c6d4cc
Merge remote-tracking branch 'upstream/update-linux-x86-binaries'
2024-04-13 03:22:08 +09:00
Dan Balasescu
b6b0e0517c
Merge remote-tracking branch 'upstream/update-osx-arm64-binaries'
2024-04-13 03:22:06 +09:00
Dan Balasescu
ce65a9825d
Merge remote-tracking branch 'upstream/update-osx-x64-binaries'
2024-04-13 03:22:04 +09:00
Dan Balasescu
7543cd91bc
Merge remote-tracking branch 'upstream/update-win-arm64-binaries'
2024-04-13 03:22:02 +09:00
Dan Balasescu
42d01d297e
Merge remote-tracking branch 'upstream/update-win-x64-binaries'
2024-04-13 03:21:59 +09:00
smoogipoo
bb726b4982
Update win-x64 SDL binaries
2024-04-12 18:20:28 +00:00
smoogipoo
5f9b672036
Update win-x86 SDL binaries
2024-04-12 18:20:10 +00:00
smoogipoo
620b86e715
Update win-arm64 SDL binaries
2024-04-12 18:19:52 +00:00
smoogipoo
355fbba3b4
Update iOS SDL binaries
2024-04-12 18:17:55 +00:00
smoogipoo
22e89e4d45
Update linux-x86 SDL binaries
2024-04-12 18:17:27 +00:00
smoogipoo
1ff33eb1fd
Update osx-x64 SDL binaries
2024-04-12 18:17:21 +00:00
smoogipoo
63cd829c75
Update osx-arm64 SDL binaries
2024-04-12 18:17:15 +00:00
smoogipoo
6e2d9dd131
Update linux-x64 SDL binaries
2024-04-12 18:16:22 +00:00
Dean Herbert
23e045ca14
Merge remote-tracking branch 'origin/update-win-x86-binaries' into update-ios-binaries
2024-04-07 16:41:30 +08:00
Dean Herbert
121f437cf0
Merge remote-tracking branch 'origin/update-win-x64-binaries' into update-ios-binaries
2024-04-07 16:41:29 +08:00
Dean Herbert
76ee0de52d
Merge remote-tracking branch 'origin/update-win-arm64-binaries' into update-ios-binaries
2024-04-07 16:41:28 +08:00
Dean Herbert
8a34fc207f
Merge remote-tracking branch 'origin/update-osx-x64-binaries' into update-ios-binaries
2024-04-07 16:41:27 +08:00
Dean Herbert
62720dfe2b
Merge remote-tracking branch 'origin/update-osx-arm64-binaries' into update-ios-binaries
2024-04-07 16:41:26 +08:00
Dean Herbert
1dd197aefb
Merge remote-tracking branch 'origin/update-linux-x86-binaries' into update-ios-binaries
2024-04-07 16:41:25 +08:00
Dean Herbert
0e5981e3d4
Merge remote-tracking branch 'origin/update-linux-x64-binaries' into update-ios-binaries
2024-04-07 16:41:22 +08:00
smoogipoo
e6abd3a36c
Update iOS SDL binaries
2024-04-07 08:38:21 +00:00
smoogipoo
1fa5779e3c
Update win-x86 SDL binaries
2024-04-07 08:36:01 +00:00
smoogipoo
141ccbe6a7
Update win-arm64 SDL binaries
2024-04-07 08:35:38 +00:00
smoogipoo
5e654de21f
Update win-x64 SDL binaries
2024-04-07 08:35:35 +00:00
smoogipoo
337c36db68
Update osx-x64 SDL binaries
2024-04-07 08:34:24 +00:00
smoogipoo
62e00e37f6
Update osx-arm64 SDL binaries
2024-04-07 08:34:18 +00:00
smoogipoo
b925f48fed
Update linux-x86 SDL binaries
2024-04-07 08:33:36 +00:00
smoogipoo
92989c1c5b
Update linux-x64 SDL binaries
2024-04-07 08:32:14 +00:00
Dean Herbert
7aedf33f64
Merge pull request #2 from smoogipoo/add-native-build-workflow
2024-04-07 15:52:31 +08:00
Dean Herbert
5502cddbce
Merge pull request #4 from smoogipoo/add-run-config
2024-04-07 15:50:30 +08:00
Dean Herbert
6eca12f6fd
Merge pull request #3 from smoogipoo/add-deploy-workflow
2024-04-07 15:49:06 +08:00
Dan Balasescu
6a66ca0056
Add run configuration for Tests project
2024-04-07 15:46:49 +09:00
Dan Balasescu
cea0afa404
Upload as artifact
2024-04-07 15:44:46 +09:00
Dan Balasescu
2872d65428
Fix native library path
2024-04-07 15:22:10 +09:00
Dan Balasescu
ba77deb43d
Move NuGet config to final csproj
2024-04-07 15:17:29 +09:00
Dan Balasescu
2ce6387767
Adjust workflow name
2024-04-07 15:12:39 +09:00
Dan Balasescu
9631ba1327
Add deploy workflow
2024-04-07 15:09:45 +09:00
Dan Balasescu
45c8152b47
Add org prefix to package name
2024-04-07 15:07:17 +09:00
Dan Balasescu
4c72dd4cbb
Include native artifacts in package
2024-04-07 14:46:27 +09:00
Dan Balasescu
64ee7ceed5
Add native build workflow
2024-04-07 14:46:16 +09:00
Dan Balasescu
07a8cd9cc7
Merge pull request #1 from Susko3/initial
...
Add SDL3 bindings for C headers with support for all platforms
2024-04-07 12:51:49 +09:00
Dan Balasescu
913afa5b4f
Refactorings + auto styling
2024-04-07 12:47:29 +09:00
Dan Balasescu
8003b85aa2
Add DotSettings
2024-04-07 12:28:18 +09:00
Susko3
3edde48072
Add [MustDisposeResource] annoations to array helpers
2024-04-06 15:37:29 +02:00
Susko3
bb9834d0a9
Add sample/tests project
...
Just a playground to see how the string/type/array friendly overloads work.
You'll have to provide the SDL3 library manually.
2024-04-06 14:47:39 +02:00
Susko3
e85349e3fa
Change SDL sources to use more proper types
...
This helps consumers avoid having to do ugly casts
as was previously done in `SDL_quit.cs`.
It's very important that the underlying type doesn't change
as that might break ABI compat.
2024-04-06 14:43:18 +02:00
Susko3
91cef07624
Add friendly `string?` overloads to C `(const) char *` functions
...
This is done by adding a `Unsafe_` prefix to `(const) char *` (C# `byte*`) functions.
I am using `string?` instead of `ReadOnlyMemory<byte>?` because the returned pointer can
get invalidated and cause memory-safety issues.
The returned pointer is automatically freed if the return type is `char *`.
I've checked that the documentation for all functions (except in SDL_stdinc.h)
requires calling `SDL_free()` on the pointer.
2024-04-06 14:36:36 +02:00
Susko3
c5e3181962
Add source generator for `ReadOnlySpan<byte>` overloads of C `const char *` functions
2024-04-06 14:24:33 +02:00