mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-25 02:58:02 +02:00
Linux fixes
This commit is contained in:
parent
ad3d90e521
commit
6a35544195
5 changed files with 39 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue