diff --git a/src/JavaScriptCore/Enums.cs b/src/JavaScriptCore/Enums.cs index 2535c4854014..e7b3be699232 100644 --- a/src/JavaScriptCore/Enums.cs +++ b/src/JavaScriptCore/Enums.cs @@ -45,7 +45,7 @@ public enum JSClassAttributes : uint { NoAutomaticPrototype = 1 << 1 } - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] public enum JSRelationCondition : uint { Undefined, Equal, diff --git a/src/javascriptcore.cs b/src/javascriptcore.cs index 526bccf2b2b3..07c9a100b242 100644 --- a/src/javascriptcore.cs +++ b/src/javascriptcore.cs @@ -186,11 +186,11 @@ partial interface JSValue { [Export ("toUInt32")] uint ToUInt32 (); - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("toInt64")] long ToInt64 (); - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("toUInt64")] ulong ToUInt64 (); @@ -342,46 +342,46 @@ partial interface JSValue { bool IsSymbol { get; } [Static] - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("valueWithNewBigIntFromString:inContext:")] [return: NullAllowed] JSValue CreateNewBigInt (string @string, JSContext context); [Static] - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("valueWithNewBigIntFromInt64:inContext:")] [return: NullAllowed] JSValue CreateNewBigInt (long int64, JSContext context); [Static] - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("valueWithNewBigIntFromUInt64:inContext:")] [return: NullAllowed] JSValue CreateNewBigInt (ulong uint64, JSContext context); [Static] - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("valueWithNewBigIntFromDouble:inContext:")] [return: NullAllowed] JSValue CreateNewBigInt (double uint64, JSContext context); - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("isBigInt")] bool IsBigInt { get; } - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("compareJSValue:")] JSRelationCondition Compare (JSValue other); - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("compareInt64:")] JSRelationCondition Compare (long other); - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("compareUInt64:")] JSRelationCondition Compare (ulong other); - [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), NoMac] + [iOS (18, 0), MacCatalyst (18, 0), TV (18, 0), Mac (15, 0)] [Export ("compareDouble:")] JSRelationCondition Compare (double other); } diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-JavaScriptCore.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-JavaScriptCore.todo deleted file mode 100644 index a8b54c34d26f..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-JavaScriptCore.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-enum! JSRelationCondition not bound -!missing-selector! +JSValue::valueWithNewBigIntFromDouble:inContext: not bound -!missing-selector! +JSValue::valueWithNewBigIntFromInt64:inContext: not bound -!missing-selector! +JSValue::valueWithNewBigIntFromString:inContext: not bound -!missing-selector! +JSValue::valueWithNewBigIntFromUInt64:inContext: not bound -!missing-selector! JSValue::compareDouble: not bound -!missing-selector! JSValue::compareInt64: not bound -!missing-selector! JSValue::compareJSValue: not bound -!missing-selector! JSValue::compareUInt64: not bound -!missing-selector! JSValue::isBigInt not bound -!missing-selector! JSValue::toInt64 not bound -!missing-selector! JSValue::toUInt64 not bound