Title: [239745] trunk/Source/_javascript_Core
- Revision
- 239745
- Author
- [email protected]
- Date
- 2019-01-08 13:40:42 -0800 (Tue, 08 Jan 2019)
Log Message
Move JSValueMakeSymbol to private header
https://bugs.webkit.org/show_bug.cgi?id=193254
Reviewed by Saam Barati.
When moving other functions in JSValueRef I guess I forgot to move this one.
* API/JSObjectRefPrivate.h:
* API/JSValueRef.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/API/JSObjectRefPrivate.h (239744 => 239745)
--- trunk/Source/_javascript_Core/API/JSObjectRefPrivate.h 2019-01-08 21:36:18 UTC (rev 239744)
+++ trunk/Source/_javascript_Core/API/JSObjectRefPrivate.h 2019-01-08 21:40:42 UTC (rev 239745)
@@ -132,6 +132,15 @@
/*!
@function
+ @abstract Creates a _javascript_ value of the symbol type.
+ @param ctx The execution context to use.
+ @param description A description of the newly created symbol value.
+ @result A unique JSValue of the symbol type, whose description matches the one provided.
+ */
+JS_EXPORT JSValueRef JSValueMakeSymbol(JSContextRef ctx, JSStringRef description) JSC_API_AVAILABLE(macosx(JSC_MAC_TBA), ios(JSC_IOS_TBA));
+
+/*!
+ @function
@abstract Tests whether a _javascript_ value's type is the symbol type.
@param ctx The execution context to use.
@param value The JSValue to test.
Modified: trunk/Source/_javascript_Core/API/JSValueRef.h (239744 => 239745)
--- trunk/Source/_javascript_Core/API/JSValueRef.h 2019-01-08 21:36:18 UTC (rev 239744)
+++ trunk/Source/_javascript_Core/API/JSValueRef.h 2019-01-08 21:40:42 UTC (rev 239745)
@@ -262,15 +262,6 @@
/*!
@function
-@abstract Creates a _javascript_ value of the symbol type.
-@param ctx The execution context to use.
-@param description A description of the newly created symbol value.
-@result A unique JSValue of the symbol type, whose description matches the one provided.
-*/
-JS_EXPORT JSValueRef JSValueMakeSymbol(JSContextRef ctx, JSStringRef description) JSC_API_AVAILABLE(macosx(JSC_MAC_TBA), ios(JSC_IOS_TBA));
-
-/*!
-@function
@abstract Creates a _javascript_ value of the string type.
@param ctx The execution context to use.
@param string The JSString to assign to the newly created JSValue. The
Modified: trunk/Source/_javascript_Core/ChangeLog (239744 => 239745)
--- trunk/Source/_javascript_Core/ChangeLog 2019-01-08 21:36:18 UTC (rev 239744)
+++ trunk/Source/_javascript_Core/ChangeLog 2019-01-08 21:40:42 UTC (rev 239745)
@@ -1,3 +1,15 @@
+2019-01-08 Keith Miller <[email protected]>
+
+ Move JSValueMakeSymbol to private header
+ https://bugs.webkit.org/show_bug.cgi?id=193254
+
+ Reviewed by Saam Barati.
+
+ When moving other functions in JSValueRef I guess I forgot to move this one.
+
+ * API/JSObjectRefPrivate.h:
+ * API/JSValueRef.h:
+
2019-01-08 Mark Lam <[email protected]>
Fix some typos in comments.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes