From e4ebf149a9e944e78c3e40308c6d9025d1c4f450 Mon Sep 17 00:00:00 2001 From: Martin Evans Date: Wed, 16 Jul 2025 23:30:29 +0100 Subject: [PATCH] Applied `MarshalAs` to `wasmtime_engine_is_pulley` to fix incorrect marshalling --- src/Engine.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Engine.cs b/src/Engine.cs index 732e5db7..cb3705b4 100644 --- a/src/Engine.cs +++ b/src/Engine.cs @@ -92,6 +92,7 @@ private static class Native public static extern void wasmtime_engine_increment_epoch(Handle engine); [DllImport(LibraryName)] + [return: MarshalAs(UnmanagedType.I1)] public static extern bool wasmtime_engine_is_pulley(Handle engine); }