some cleanup

This commit is contained in:
2026-05-18 23:19:40 -05:00
parent 7167d98cb6
commit 221cfa5e9c
7 changed files with 765 additions and 764 deletions
+8
View File
@@ -0,0 +1,8 @@
using System.Runtime.InteropServices;
namespace SDL3_TestingSuite.SDL3;
public unsafe static class DelegateHelpers
{
public static void* GetPtrForDelegate<TDelegate>(this TDelegate _delegate) where TDelegate : notnull => (void*)Marshal.GetFunctionPointerForDelegate(_delegate);
}