1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-30 05:15:59 +02:00

Fixed NoRT

This commit is contained in:
Brian Fiete 2024-10-23 11:23:56 -04:00
parent 8c1d1e65b3
commit 58ef18735c
2 changed files with 12 additions and 0 deletions

View file

@ -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)