Title: [202069] trunk/Source/_javascript_Core
Revision
202069
Author
ddkil...@apple.com
Date
2016-06-14 15:56:02 -0700 (Tue, 14 Jun 2016)

Log Message

Document the native format of JSChar type
<http://webkit.org/b/156137>

Reviewed by Darin Adler.

* API/JSStringRef.h:
(typedef JSChar): Update documentation.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/API/JSStringRef.h (202068 => 202069)


--- trunk/Source/_javascript_Core/API/JSStringRef.h	2016-06-14 22:47:34 UTC (rev 202068)
+++ trunk/Source/_javascript_Core/API/JSStringRef.h	2016-06-14 22:56:02 UTC (rev 202069)
@@ -41,7 +41,9 @@
     && !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* RVCT */
 /*!
 @typedef JSChar
-@abstract A Unicode character.
+@abstract A UTF-16 code unit. One, or a sequence of two, can encode any Unicode
+ character. As with all scalar types, endianness depends on the underlying
+ architecture.
 */
     typedef unsigned short JSChar;
 #else

Modified: trunk/Source/_javascript_Core/ChangeLog (202068 => 202069)


--- trunk/Source/_javascript_Core/ChangeLog	2016-06-14 22:47:34 UTC (rev 202068)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-06-14 22:56:02 UTC (rev 202069)
@@ -1,3 +1,13 @@
+2016-06-14  David Kilzer  <ddkil...@apple.com>
+
+        Document the native format of JSChar type
+        <http://webkit.org/b/156137>
+
+        Reviewed by Darin Adler.
+
+        * API/JSStringRef.h:
+        (typedef JSChar): Update documentation.
+
 2016-06-14  Keith Miller  <keith_mil...@apple.com>
 
         The Array species constructor watchpoints should be created the first time they are needed rather than on creation
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to