DotNet hosting test

This commit is contained in:
Simon Lübeß
2022-04-14 02:24:36 +02:00
parent 9c93ccee47
commit 6a250d4927
16 changed files with 806 additions and 13 deletions
+13
View File
@@ -0,0 +1,13 @@
using System;
using System.Interop;
namespace GlitchyEngineHelper
{
static class DotNetRuntime
{
[LinkName("TestRunDotNet"), CallingConvention(.Cdecl)]
public static extern int TestRunDotNet(c_int argc, c_wchar** argv);
[LinkName("DotNet_Init"), CallingConvention(.Cdecl)]
public static extern int Init();
}
}