You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.
I think the issue also applies to TextFormat which is also missing the vardiac arguments as I couldn't get them to work correctly. Though that function can be removed if needed as it is not used much in the examples.
It might also impact custom logging though that uses a callback along with some logging utils to do the text formatting.
I found that
LoadingVox
example doesn't work, it kabooms on theTraceLog
function call:I suspect that the
DllImport
in Raylib-cs isn't correct. It does this:because the TraceLog in raylib is a variadic function:
https://github.com/raysan5/raylib/blob/dbdfad7ace061931da701070c5c7fbe772c57725/src/utils.c#L107
And these two will never be good friends. 🤔
Anyway this random internet guy found that
__arglist
does the trick:https://www.c-sharpcorner.com/UploadFile/b942f9/calling-unmanaged-functions-which-take-a-variable-number-of-arguments-from-C-Sharp/
What the fawk is
__arglist
, the totally secret C# thing?!The text was updated successfully, but these errors were encountered: