daily update on 20230628 by nitload youmu, new debug and graphic lib added

This commit is contained in:
Nitload
2023-06-29 02:10:56 +08:00
parent f99a0674b0
commit 04b166771c
277 changed files with 19879 additions and 12406 deletions
@@ -0,0 +1,37 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace StgSharp.StgSharpTest
{
public static class PInvokeTest
{
[DllImport("StgSharpGraphic.dll",EntryPoint ="getPtr")]
internal static extern IntPtr getPtr();
public static void GLloadtest()
{
try
{
IntPtr ptr = Marshal.GetFunctionPointerForDelegate(Graphic.glIO.internalGLcreateWindow);
Console.WriteLine(ptr);
IntPtr ptr1 = getPtr();
Console.WriteLine(ptr1);
}
catch (Exception)
{
throw;
}
}
}
}