начало задачи о зависимостях

This commit is contained in:
2025-02-05 09:55:06 +03:00
parent ad2ef8e4b7
commit fd1eda2661
26 changed files with 109 additions and 135 deletions
+14 -2
View File
@@ -1,5 +1,7 @@
using System.Runtime.InteropServices;
using mROA.Codegen;
using mROA.Implementation.Test;
namespace mROA.Example;
@@ -7,7 +9,17 @@ public class MainX
{
public static void Main(string[] args)
{
CoCodegenMethodRepository a = new CoCodegenMethodRepository();
// CoCodegenMethodRepository a = new CoCodegenMethodRepository();
unsafe
{
}
}
public unsafe byte[] Convert<T>(T input)
{
var size = Marshal.SizeOf(typeof(T));
var place = Marshal.AllocHGlobal(size);
var pt = (T*)place;
}
}