mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Start CoreClr from Beef and basic interaction
This commit is contained in:
+5
-3
@@ -1,4 +1,5 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace GlitchyEngine;
|
||||
|
||||
@@ -44,7 +45,8 @@ public class Log
|
||||
{
|
||||
LogMessage_Impl(LogLevel.Critical, message);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern string LogMessage_Impl(LogLevel logLevel, string message);
|
||||
|
||||
//[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
[DllImport("GlitchyEditor.exe", CallingConvention = CallingConvention.Cdecl, EntryPoint = "Log::LogMessage_Impl")]
|
||||
public static extern void LogMessage_Impl(LogLevel logLevel, string message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user