From c52ce1a3f209ca777a83d74fabc1a60c1cdaf5fc Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Thu, 9 May 2024 13:30:21 +0200 Subject: [PATCH] Arghh --- src/NetVips/VipsProgress.cs | 5 ----- tests/NetVips.Tests/IoFuncsTests.cs | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/NetVips/VipsProgress.cs b/src/NetVips/VipsProgress.cs index b56bb3c..f09936b 100644 --- a/src/NetVips/VipsProgress.cs +++ b/src/NetVips/VipsProgress.cs @@ -67,10 +67,5 @@ public struct VipsProgress /// Start time. /// private IntPtr StartPtr; - - /// - /// Start time. - /// - //public GTimer Start => Marshal.PtrToStructure(StartPtr); } } \ No newline at end of file diff --git a/tests/NetVips.Tests/IoFuncsTests.cs b/tests/NetVips.Tests/IoFuncsTests.cs index ed670e2..62ffc20 100644 --- a/tests/NetVips.Tests/IoFuncsTests.cs +++ b/tests/NetVips.Tests/IoFuncsTests.cs @@ -245,7 +245,7 @@ void EvalCallback(Image image, VipsProgress progressStruct) _testOutputHelper.WriteLine($" tpels = {progressStruct.TPels} (total number of pels)"); _testOutputHelper.WriteLine($" npels = {progressStruct.NPels} (number of pels computed so far)"); _testOutputHelper.WriteLine($" percent = {progressStruct.Percent} (percent complete)"); - _testOutputHelper.WriteLine($" active = {progressStruct.Start.Active} (timer active)"); + //_testOutputHelper.WriteLine($" active = {progressStruct.Start.Active} (timer active)"); } _testOutputHelper.WriteLine($"sizeof(VipsProgress): {Marshal.SizeOf()}");