mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Minlib fixes
This commit is contained in:
parent
470ce96bb9
commit
0a51049d65
2 changed files with 4 additions and 10 deletions
|
@ -366,13 +366,13 @@ namespace System
|
|||
[CallingConvention(.Stdcall), CLink]
|
||||
static extern int32 ftoa(float val, char8* str);
|
||||
|
||||
static extern int32 ToString(float val, char8* str);
|
||||
static extern int32 ToString(float val, char8* str, bool roundTrip);
|
||||
|
||||
public override void ToString(String strBuffer)
|
||||
{
|
||||
char8[128] outBuff = ?;
|
||||
//ftoa((float)this, &outBuff);
|
||||
int len = ToString((float)this, &outBuff);
|
||||
int len = ToString((float)this, &outBuff, false);
|
||||
strBuffer.Append(&outBuff, len);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -193,14 +193,8 @@ namespace System.Threading
|
|||
}
|
||||
}
|
||||
|
||||
public void Suspend() { SuspendInternal(); }
|
||||
private extern void SuspendInternal();
|
||||
|
||||
public void Resume() { ResumeInternal(); }
|
||||
private extern void ResumeInternal();
|
||||
|
||||
public void Interrupt() { InterruptInternal(); }
|
||||
private extern void InterruptInternal();
|
||||
public extern void Suspend();
|
||||
public extern void Resume();
|
||||
|
||||
public ThreadPriority Priority
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue