mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
Fix conflicts
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Raylib_cs
|
|||||||
|
|
||||||
public UTF8Buffer(string text)
|
public UTF8Buffer(string text)
|
||||||
{
|
{
|
||||||
_data = Marshal.StringToCoTaskMemUTF8(text);
|
_data = Marshal.StringToHGlobalAnsi(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
public unsafe sbyte* AsPointer()
|
public unsafe sbyte* AsPointer()
|
||||||
@@ -23,7 +23,7 @@ namespace Raylib_cs
|
|||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
Marshal.FreeCoTaskMem(_data);
|
Marshal.FreeHGlobal(_data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user