mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12: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]
|
[CallingConvention(.Stdcall), CLink]
|
||||||
static extern int32 ftoa(float val, char8* str);
|
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)
|
public override void ToString(String strBuffer)
|
||||||
{
|
{
|
||||||
char8[128] outBuff = ?;
|
char8[128] outBuff = ?;
|
||||||
//ftoa((float)this, &outBuff);
|
//ftoa((float)this, &outBuff);
|
||||||
int len = ToString((float)this, &outBuff);
|
int len = ToString((float)this, &outBuff, false);
|
||||||
strBuffer.Append(&outBuff, len);
|
strBuffer.Append(&outBuff, len);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -193,14 +193,8 @@ namespace System.Threading
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Suspend() { SuspendInternal(); }
|
public extern void Suspend();
|
||||||
private extern void SuspendInternal();
|
public extern void Resume();
|
||||||
|
|
||||||
public void Resume() { ResumeInternal(); }
|
|
||||||
private extern void ResumeInternal();
|
|
||||||
|
|
||||||
public void Interrupt() { InterruptInternal(); }
|
|
||||||
private extern void InterruptInternal();
|
|
||||||
|
|
||||||
public ThreadPriority Priority
|
public ThreadPriority Priority
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue