1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Test updates

This commit is contained in:
Brian Fiete 2020-05-22 06:40:06 -07:00
parent adbae6f1d4
commit 639430b41c
7 changed files with 73 additions and 29 deletions

View file

@ -194,6 +194,8 @@ namespace Hey.Dude.Bro
PrintF("C...\n");
Thread.Sleep(1000);
PrintF("D...\n");
int abc = 234;
}
static int GetVal()
@ -237,12 +239,9 @@ namespace Hey.Dude.Bro
public static int Main(String[] args)
{
//Test2(1, 2, 3, 4);
Blurg.Hey();
while (true)
{
new String();
GC.Collect();
}
return 1;
}

View file

@ -5,18 +5,55 @@ using System.Diagnostics;
using System.Threading;
using System.Collections;
namespace SDL
{
struct SDL_Cursor
{
int mA;
}
}
struct ImGui
{
public enum MouseCursor
{
A,
B,
C,
D,
COUNT
}
}
struct Blurg
{
//private static SDL.SDL_Cursor*[(.)ImGui.MouseCursor.COUNT] g_MouseCursors = .(null,);
private static SDL.SDL_Cursor*[(.)ImGui.MouseCursor.COUNT] g_MouseCursors = .(null,);
public static void Hey()
{
String str = new String();
delete str;
let cur = new SDL.SDL_Cursor();
//Internal.Malloc(123);
Internal.StdMalloc(123);
g_MouseCursors[0] = cur;
g_MouseCursors[1] = cur;
g_MouseCursors[2] = cur;
}
}
class TestClass
{
public void GetIt(ref TestClass tc)
{
}
public this()
{
/*let a = &this;
GetIt(ref this);*/
}
}