-
-
Notifications
You must be signed in to change notification settings - Fork 441
Disable ref overloads for opaque pointer types #1341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0401f15 to
204676c
Compare
|
Relies on #1349 |
dee0dbb to
6acfd7e
Compare
|
if CI passes then HOPEFULLY this should be ready for merge, as this also fixes OpenXR generation, so lets get it in before 2.17 |
e27a726 to
0c8ffed
Compare
|
Your git history still a little wonky, I'll try my best to fix it but some of the commit messages may get lost. This is why I hate force push! |
add497c to
0a20df9
Compare
Perksey
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed what I could but after a while the iPad just stopped rendering files. I think this covers most of it though.
Some comments could in theory be saved for later but I would like to get the questions around the D2D1/DirectWrite/WIC division sorted about before we release (because we can't change our minds once it's shipped)
src/Core/Silk.NET.BuildTools/Overloading/Simple/RefOverloader.cs
Outdated
Show resolved
Hide resolved
src/Microsoft/Silk.NET.Direct2D/Structs/D2D1BitmapRenderTargetVtblExtensions.gen.cs
Show resolved
Hide resolved
src/Microsoft/Silk.NET.Direct2D/Structs/D2D1CommandSink1VtblExtensions.gen.cs
Show resolved
Hide resolved
src/Microsoft/Silk.NET.Direct2D/Structs/D2D1Device2VtblExtensions.gen.cs
Show resolved
Hide resolved
src/Microsoft/Silk.NET.Direct2D/Structs/D2D1DeviceContext3VtblExtensions.gen.cs
Show resolved
Hide resolved
fa5ccb4 to
f8c5eb2
Compare
This makes generation exceptions print as red, and the final job summary print succeeded jobs as green, and failed jobs as red, providing much more visual clarity
ba500b3 to
ce94205
Compare
This re-adds the missing ref overloads for functions like EnableTraceEx
This can happen when something has 2 ComBases that were typemapped to IUnknown
ce94205 to
512143a
Compare
|
Freedesktop gitlab seems down, we may have to delay until their site comes back up as DXVK submodules something from there and we fail during cloning in CI |
Summary of the PR
While these overloads were usable, they were extremely error prone and should not be used, this cleans up the amount of overloads, and blocks very error prone code from being written
Related issues, Discord discussions, or proposals
https://discord.com/channels/521092042781229087/587346162802229298/1087098494562603108