Title: [163897] trunk/Source/_javascript_Core
Revision
163897
Author
[email protected]
Date
2014-02-11 12:32:09 -0800 (Tue, 11 Feb 2014)

Log Message

Add Availability Macros to new JSC APIs
https://bugs.webkit.org/show_bug.cgi?id=128615

Patch by Joseph Pecoraro <[email protected]> on 2014-02-11
Reviewed by Mark Rowe.

* API/JSContext.h:
* API/JSContextRef.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/API/JSContext.h (163896 => 163897)


--- trunk/Source/_javascript_Core/API/JSContext.h	2014-02-11 20:28:59 UTC (rev 163896)
+++ trunk/Source/_javascript_Core/API/JSContext.h	2014-02-11 20:32:09 UTC (rev 163897)
@@ -179,7 +179,7 @@
 @property
 @discussion Name of the JSContext. Exposed when remote debugging the context.
 */
-@property (copy) NSString *name;
+@property (copy) NSString *name NS_AVAILABLE(10_10, 8_0);
 
 @end
 

Modified: trunk/Source/_javascript_Core/API/JSContextRef.h (163896 => 163897)


--- trunk/Source/_javascript_Core/API/JSContextRef.h	2014-02-11 20:28:59 UTC (rev 163896)
+++ trunk/Source/_javascript_Core/API/JSContextRef.h	2014-02-11 20:32:09 UTC (rev 163897)
@@ -141,7 +141,7 @@
 @discussion A JSGlobalContext's name is exposed for remote debugging to make it
 easier to identify the context you would like to attach to.
 */
-JS_EXPORT JSStringRef JSGlobalContextCopyName(JSGlobalContextRef ctx);
+JS_EXPORT JSStringRef JSGlobalContextCopyName(JSGlobalContextRef ctx) CF_AVAILABLE(10_10, 8_0);
 
 /*!
 @function
@@ -149,7 +149,7 @@
 @param ctx The JSGlobalContext that you want to name.
 @param name The remote debugging name to set on ctx.
 */
-JS_EXPORT void JSGlobalContextSetName(JSGlobalContextRef ctx, JSStringRef name);
+JS_EXPORT void JSGlobalContextSetName(JSGlobalContextRef ctx, JSStringRef name) CF_AVAILABLE(10_10, 8_0);
 
 #ifdef __cplusplus
 }

Modified: trunk/Source/_javascript_Core/ChangeLog (163896 => 163897)


--- trunk/Source/_javascript_Core/ChangeLog	2014-02-11 20:28:59 UTC (rev 163896)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-02-11 20:32:09 UTC (rev 163897)
@@ -1,3 +1,13 @@
+2014-02-11  Joseph Pecoraro  <[email protected]>
+
+        Add Availability Macros to new JSC APIs
+        https://bugs.webkit.org/show_bug.cgi?id=128615
+
+        Reviewed by Mark Rowe.
+
+        * API/JSContext.h:
+        * API/JSContextRef.h:
+
 2014-02-11  Filip Pizlo  <[email protected]>
 
         FTL should support CompareEq(ObjectOrOther:, Object:)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to