Skip to content

Commit

Permalink
Arghh
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed May 9, 2024
1 parent 54ab39b commit c52ce1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/NetVips/VipsProgress.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,5 @@ public struct VipsProgress
/// Start time.
/// </summary>
private IntPtr StartPtr;

/// <summary>
/// Start time.
/// </summary>
//public GTimer Start => Marshal.PtrToStructure<GTimer>(StartPtr);
}
}
2 changes: 1 addition & 1 deletion tests/NetVips.Tests/IoFuncsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<VipsProgress>()}");
Expand Down

0 comments on commit c52ce1a

Please sign in to comment.