Document/credit logging approach
This commit is contained in:
parent
ccf31c38e1
commit
019b7f2ced
1 changed files with 4 additions and 2 deletions
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue