提交 700a15fe 编写于 作者: B Behdad Esfahbod

Add HB_DISABLE_DEPRECATED

That moment that you have to accept that you made API mistakes...
上级 ddc456a5
...@@ -28,7 +28,7 @@ SCANGOBJ_OPTIONS= ...@@ -28,7 +28,7 @@ SCANGOBJ_OPTIONS=
# Extra options to supply to gtkdoc-scan. # Extra options to supply to gtkdoc-scan.
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
SCAN_OPTIONS=--rebuild-types SCAN_OPTIONS=--rebuild-types --deprecated-guards="HB_DISABLE_DEPRECATED"
# Extra options to supply to gtkdoc-mkdb. # Extra options to supply to gtkdoc-mkdb.
# e.g. MKDB_OPTIONS=--xml-mode --output-format=xml # e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
......
...@@ -102,6 +102,7 @@ hb_script_from_string ...@@ -102,6 +102,7 @@ hb_script_from_string
hb_script_get_horizontal_direction hb_script_get_horizontal_direction
hb_script_t hb_script_t
hb_script_to_iso15924_tag hb_script_to_iso15924_tag
HB_SCRIPT_CANADIAN_ABORIGINAL
hb_tag_from_string hb_tag_from_string
hb_tag_t hb_tag_t
hb_tag_to_string hb_tag_to_string
...@@ -276,9 +277,6 @@ HB_OT_LAYOUT_NO_SCRIPT_INDEX ...@@ -276,9 +277,6 @@ HB_OT_LAYOUT_NO_SCRIPT_INDEX
HB_OT_TAG_GDEF HB_OT_TAG_GDEF
HB_OT_TAG_GPOS HB_OT_TAG_GPOS
HB_OT_TAG_GSUB HB_OT_TAG_GSUB
Xhb_ot_layout_lookup_enumerate_sequences
Xhb_ot_layout_lookup_position
Xhb_ot_layout_lookup_substitute
hb_ot_layout_collect_lookups hb_ot_layout_collect_lookups
hb_ot_layout_feature_get_lookups hb_ot_layout_feature_get_lookups
hb_ot_layout_get_attach_points hb_ot_layout_get_attach_points
...@@ -305,6 +303,10 @@ hb_ot_layout_table_find_script ...@@ -305,6 +303,10 @@ hb_ot_layout_table_find_script
hb_ot_layout_table_get_feature_tags hb_ot_layout_table_get_feature_tags
hb_ot_layout_table_get_script_tags hb_ot_layout_table_get_script_tags
hb_ot_shape_plan_collect_lookups hb_ot_shape_plan_collect_lookups
<SUBSECTION Private>
Xhb_ot_layout_lookup_enumerate_sequences
Xhb_ot_layout_lookup_position
Xhb_ot_layout_lookup_substitute
</SECTION> </SECTION>
<SECTION> <SECTION>
......
...@@ -273,8 +273,10 @@ typedef enum ...@@ -273,8 +273,10 @@ typedef enum
/*---*/ HB_SCRIPT_INVALID = HB_TAG_NONE /*---*/ HB_SCRIPT_INVALID = HB_TAG_NONE
} hb_script_t; } hb_script_t;
/* Deprecated misspellings. */ #ifndef HB_DISABLE_DEPRECATED
/* Deprecated misspelling. */
#define HB_SCRIPT_CANADIAN_ABORIGINAL HB_SCRIPT_CANADIAN_SYLLABICS #define HB_SCRIPT_CANADIAN_ABORIGINAL HB_SCRIPT_CANADIAN_SYLLABICS
#endif
/* These are moved out of hb_script_t because glib-mkenums chokes otherwise. */ /* These are moved out of hb_script_t because glib-mkenums chokes otherwise. */
#if 0 #if 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册