1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-25 02:58:02 +02:00

Linux fixes

This commit is contained in:
disarray2077 2025-05-11 23:27:42 -03:00
parent ad3d90e521
commit 6a35544195
5 changed files with 39 additions and 0 deletions

View file

@ -972,6 +972,9 @@ namespace System
public void Append(char8* appendPtr, int length)
{
Debug.Assert(length >= 0);
if (length <= 0)
return;
int newCurrentIndex = mLength + length;
char8* ptr;
if (newCurrentIndex > AllocSize)
@ -996,6 +999,9 @@ namespace System
public void Append(char8[] arr, int idx, int length)
{
Debug.Assert(length >= 0);
if (length <= 0)
return;
int newCurrentIndex = mLength + length;
char8* ptr;
if (newCurrentIndex > AllocSize)