- Notifications
You must be signed in to change notification settings - Fork543
JavaScriptCore macOS xcode16.2 b2
Rolf Bjarne Kvinge edited this pageNov 29, 2024 ·2 revisions
#JavaScriptCore.frameworkhttps://github.com/xamarin/xamarin-macios/pull/21716
diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSContext.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSContext.h--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSContext.h2024-10-09 22:35:43+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSContext.h2024-10-31 02:09:58@@ -1,5 +1,5 @@ /*- * Copyright (C) 2013-2019 Apple Inc. All rights reserved.+ * Copyright (C) 2013-2024 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions@@ -23,11 +23,14 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */-#import <JavaScriptCore/JavaScript.h>-#import <JavaScriptCore/WebKitAvailability.h>+#ifndef JSContext_h+#define JSContext_h-#if JSC_OBJC_API_ENABLED+#include <JavaScriptCore/JavaScript.h>+#include <JavaScriptCore/WebKitAvailability.h>+#if defined(__OBJC__) && JSC_OBJC_API_ENABLED+ @class JSScript, JSVirtualMachine, JSValue, JSContext; /*!@@ -238,3 +241,5 @@ @end #endif++#endif /* JSContext_h */diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSExport.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSExport.h--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSExport.h2024-10-10 00:01:15+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSExport.h2024-10-31 00:56:04@@ -1,5 +1,5 @@ /*- * Copyright (C) 2013 Apple Inc. All rights reserved.+ * Copyright (C) 2013-2024 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions@@ -23,10 +23,13 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */-#import <JavaScriptCore/JavaScriptCore.h>+#ifndef JSExport_h+#define JSExport_h-#if JSC_OBJC_API_ENABLED+#include <JavaScriptCore/JavaScriptCore.h>+#if defined(__OBJC__) && JSC_OBJC_API_ENABLED+ /*! @protocol @abstract JSExport provides a declarative way to export Objective-C objects and@@ -144,3 +147,5 @@ @optional Selector __JS_EXPORT_AS__##PropertyName:(id)argument; @required Selector #endif++#endif /* JSExport_h */diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSManagedValue.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSManagedValue.h--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSManagedValue.h2024-10-10 00:07:40+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSManagedValue.h2024-10-31 00:53:04@@ -1,5 +1,5 @@ /*- * Copyright (C) 2013 Apple Inc. All rights reserved.+ * Copyright (C) 2013-2024 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions@@ -26,10 +26,10 @@ #ifndef JSManagedValue_h #define JSManagedValue_h-#import <JavaScriptCore/JSBase.h>-#import <JavaScriptCore/WebKitAvailability.h>+#include <JavaScriptCore/JSBase.h>+#include <JavaScriptCore/WebKitAvailability.h>-#if JSC_OBJC_API_ENABLED+#if defined(__OBJC__) && JSC_OBJC_API_ENABLED @class JSValue; @class JSContext;@@ -76,6 +76,6 @@ @end-#endif // JSC_OBJC_API_ENABLED+#endif-#endif // JSManagedValue_h+#endif /* JSManagedValue_h */diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSValue.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSValue.h--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSValue.h2024-10-10 00:07:40+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSValue.h2024-10-30 22:59:21@@ -26,7 +26,7 @@ #ifndef JSValue_h #define JSValue_h-#if JSC_OBJC_API_ENABLED+#if defined(__OBJC__) && JSC_OBJC_API_ENABLED #import <CoreGraphics/CGGeometry.h>@@ -821,4 +821,4 @@ #endif-#endif // JSValue_h+#endif /* JSValue_h */diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSVirtualMachine.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSVirtualMachine.h--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSVirtualMachine.h2024-10-10 00:07:40+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSVirtualMachine.h2024-10-31 00:53:04@@ -1,5 +1,5 @@ /*- * Copyright (C) 2013 Apple Inc. All rights reserved.+ * Copyright (C) 2013-2024 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions@@ -23,10 +23,13 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */-#import <JavaScriptCore/JavaScriptCore.h>+#ifndef JSVirtualMachine_h+#define JSVirtualMachine_h-#if JSC_OBJC_API_ENABLED+#include <JavaScriptCore/JavaScriptCore.h>+#if defined(__OBJC__) && JSC_OBJC_API_ENABLED+ /*! @interface @discussion An instance of JSVirtualMachine represents a single JavaScript "object space"@@ -85,3 +88,5 @@ @end #endif++#endif /* JSVirtualMachine_h */diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JavaScriptCore.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JavaScriptCore.h--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JavaScriptCore.h2024-10-10 00:07:40+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaScriptCore.framework/Headers/JavaScriptCore.h2024-10-31 00:53:03@@ -29,14 +29,10 @@ #include <JavaScriptCore/JavaScript.h> #include <JavaScriptCore/JSStringRefCF.h>-#if defined(__OBJC__) && JSC_OBJC_API_ENABLED--#import <JavaScriptCore/JSContext.h>-#import <JavaScriptCore/JSValue.h>-#import <JavaScriptCore/JSManagedValue.h>-#import <JavaScriptCore/JSVirtualMachine.h>-#import <JavaScriptCore/JSExport.h>--#endif+#include <JavaScriptCore/JSContext.h>+#include <JavaScriptCore/JSValue.h>+#include <JavaScriptCore/JSManagedValue.h>+#include <JavaScriptCore/JSVirtualMachine.h>+#include <JavaScriptCore/JSExport.h> #endif /* JavaScriptCore_h */