mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-30 05:15:59 +02:00
Fixed NoRT
This commit is contained in:
parent
8c1d1e65b3
commit
58ef18735c
2 changed files with 12 additions and 0 deletions
|
@ -90,7 +90,17 @@ namespace System
|
|||
|
||||
static function void(StringView str) OutString = => OutString_Simple;
|
||||
|
||||
#if !BF_RUNTIME_DISABLE
|
||||
private static extern void PutChars(char8* c, int32 len);
|
||||
#else
|
||||
[CLink]
|
||||
private static extern void putchar(char8 c);
|
||||
private static void PutChars(char8* c, int32 len)
|
||||
{
|
||||
for (int i < len)
|
||||
putchar(c[i]);
|
||||
}
|
||||
#endif
|
||||
public static extern void ReopenHandles();
|
||||
|
||||
static void OutString_Simple(StringView str)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue