summaryrefslogtreecommitdiff
path: root/pango/pango-script.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-27 14:11:36 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-05-27 14:16:45 +0000
commit6a2d02961dc1aed6c8fd472f1646ba12b3420b70 (patch)
tree1801bb8b64592b472cb5c78db16b07c905608bdf /pango/pango-script.h
parentaaf44b08dd619e545e12ef0c106e5685b68233c3 (diff)
downloadpango-6a2d02961dc1aed6c8fd472f1646ba12b3420b70.tar.gz
Add more deprecation notes around PangoScript
Make it clear that PangoScript is deprecated, and will not be updated. And that all APIs are in fact returning GUnicodeScript, and callers have to handle that.
Diffstat (limited to 'pango/pango-script.h')
-rw-r--r--pango/pango-script.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/pango/pango-script.h b/pango/pango-script.h
index 62876025..cce4e4d1 100644
--- a/pango/pango-script.h
+++ b/pango/pango-script.h
@@ -158,12 +158,14 @@ typedef struct _PangoScriptIter PangoScriptIter;
*
* The #PangoScript enumeration identifies different writing
* systems. The values correspond to the names as defined in the
- * Unicode standard.
- * Note that new types may be added in the future. Applications should be ready
- * to handle unknown values. This enumeration is interchangeable with
- * #GUnicodeScript. See <ulink
+ * Unicode standard. See <ulink
* url="http://www.unicode.org/reports/tr24/">Unicode Standard Annex
* #24: Script names</ulink>.
+ *
+ * Note that this enumeration is deprecated and will not be updated
+ * to include values in newer versions of the Unicode standard.
+ * Applications should use the GUnicodeScript enumeration instead,
+ * whose values are interchangeable with PangoScript.
*/
typedef enum { /* ISO 15924 code */
PANGO_SCRIPT_INVALID_CODE = -1,