начало задачи о зависимостях
This commit is contained in:
1 parent
ad2ef8e4b7
commit
fd1eda2661
26 files changed
+109
-135
No files matched your search
+14
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user