Add HB_DISABLE_DEPRECATED

That moment that you have to accept that you made API mistakes...
This commit is contained in:
Behdad Esfahbod committed 2013-08-26 17:49:36 -04:00
1 parent ddc456a519
commit 700a15fe4b
3 files changed
+9 -5

No files matched your search

+3 -1
View File
@@ -273,8 +273,10 @@ typedef enum
/*---*/ HB_SCRIPT_INVALID = HB_TAG_NONE
} hb_script_t;
/* Deprecated misspellings. */
#ifndef HB_DISABLE_DEPRECATED
/* Deprecated misspelling. */
#define HB_SCRIPT_CANADIAN_ABORIGINAL HB_SCRIPT_CANADIAN_SYLLABICS
#endif
/* These are moved out of hb_script_t because glib-mkenums chokes otherwise. */
#if 0