Watch
2
0
Fork
You've already forked raylib-cs
0

Merge branch 'ChrisDill:master' into master

This commit is contained in:
MrScautHD 2023-07-01 09:47:16 +02:00 committed by GitHub
commit 66c5053155
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,7 @@
// Adapted mfkl and jeremyVignelles work on libvlcsharp for marshalling va_list arguments
// For more information see the dotnet issue: https://github.com/dotnet/runtime/issues/9316
// Example of va_list interop: https://github.com/jeremyVignelles/va-list-interop-demo
using System; using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace Raylib_cs namespace Raylib_cs
@ -141,7 +143,7 @@ namespace Raylib_cs
return -1; return -1;
} }
// https://github.com/dotnet/runtime/issues/51052 // yhttps://github.com/dotnet/runtime/issues/51052
static int vsprintf(IntPtr buffer, IntPtr format, IntPtr args) static int vsprintf(IntPtr buffer, IntPtr format, IntPtr args)
{ {
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))