diff --git a/FreeTypeSharp.Core.Test/FreeTypeSharp.Core.Test.csproj b/FreeTypeSharp.Core.Test/FreeTypeSharp.Core.Test.csproj
index 87db385..c38a0c6 100644
--- a/FreeTypeSharp.Core.Test/FreeTypeSharp.Core.Test.csproj
+++ b/FreeTypeSharp.Core.Test/FreeTypeSharp.Core.Test.csproj
@@ -3,6 +3,7 @@
Exe
net8.0
+ true
diff --git a/FreeTypeSharp.Core.Test/Program.cs b/FreeTypeSharp.Core.Test/Program.cs
index 300db29..1a64a06 100644
--- a/FreeTypeSharp.Core.Test/Program.cs
+++ b/FreeTypeSharp.Core.Test/Program.cs
@@ -1,14 +1,15 @@
using System;
-using static FreeTypeSharp.Native.FT;
+using static FreeTypeSharp.FT;
namespace FreeTypeSharp.Core.Test
{
class Program
{
- static void Main(string[] args)
+ unsafe static void Main(string[] args)
{
var library = new FreeTypeLibrary();
- FT_Library_Version(library.Native, out var major, out var minor, out var patch);
+ int major, minor, patch;
+ FT_Library_Version(library.Native, &major, &minor, &patch);
Console.WriteLine($"FreeType version: {major}.{minor}.{patch}");
}
}