diff --git a/src/vision.cs b/src/vision.cs index 56163b68496..45204811976 100644 --- a/src/vision.cs +++ b/src/vision.cs @@ -75,6 +75,8 @@ enum VNErrorCode : long { Timeout, UnsupportedComputeStage, UnsupportedComputeDevice, + ResourceUnavailable, + ResourceCorrupted, } /// Enumerates the emphasis of the tracking algorithm. diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index b5d89de53bd..9ef740a26cf 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -8007,6 +8007,8 @@ F:Vision.VNElementType.Double F:Vision.VNElementType.Float F:Vision.VNElementType.Unknown F:Vision.VNErrorCode.DataUnavailable +F:Vision.VNErrorCode.ResourceCorrupted +F:Vision.VNErrorCode.ResourceUnavailable F:Vision.VNErrorCode.Timeout F:Vision.VNErrorCode.TimeStampNotFound F:Vision.VNErrorCode.TuriCore diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Vision.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Vision.todo deleted file mode 100644 index a920beadf50..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Vision.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-enum-value! VNErrorCode native value VNErrorResourceCorrupted = 24 not bound -!missing-enum-value! VNErrorCode native value VNErrorResourceUnavailable = 23 not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Vision.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-Vision.todo deleted file mode 100644 index a920beadf50..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Vision.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-enum-value! VNErrorCode native value VNErrorResourceCorrupted = 24 not bound -!missing-enum-value! VNErrorCode native value VNErrorResourceUnavailable = 23 not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-Vision.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-Vision.todo deleted file mode 100644 index a920beadf50..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-Vision.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-enum-value! VNErrorCode native value VNErrorResourceCorrupted = 24 not bound -!missing-enum-value! VNErrorCode native value VNErrorResourceUnavailable = 23 not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Vision.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Vision.todo deleted file mode 100644 index a920beadf50..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Vision.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-enum-value! VNErrorCode native value VNErrorResourceCorrupted = 24 not bound -!missing-enum-value! VNErrorCode native value VNErrorResourceUnavailable = 23 not bound