[errors] Introduce a macro to control `FT_Error_String'. * devel/ftoption.h (FT_CONFIG_OPTION_ERROR_STRINGS), include/freetype/config/ftoption.h (FT_CONFIG_OPTION_ERROR_STRINGS): New macro.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
diff --git a/ChangeLog b/ChangeLog
index bcd6b47..70bc8a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2018-08-30 Armin Hasitzka <prince.cherusker@gmail.com>
+ [errors] Introduce a macro to control `FT_Error_String'.
+
+ * devel/ftoption.h (FT_CONFIG_OPTION_ERROR_STRINGS),
+ include/freetype/config/ftoption.h (FT_CONFIG_OPTION_ERROR_STRINGS):
+ New macro.
+
+2018-08-30 Armin Hasitzka <prince.cherusker@gmail.com>
+
[errors] Introduce `FT_Error_String'.
* include/freetype/fterrors.h (FT_Error_String),
diff --git a/devel/ftoption.h b/devel/ftoption.h
index accb245..ab7968d 100644
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -497,6 +497,19 @@ FT_BEGIN_HEADER
#undef FT_CONFIG_OPTION_USE_MODULE_ERRORS
+ /**************************************************************************
+ *
+ * Error Strings
+ *
+ * If this macro is set, `FT_Error_String' will return meaningful
+ * descriptions. This is not enabled by default to reduce the overall
+ * size of FreeType.
+ *
+ * More details can be found in the file fterrors.h.
+ */
+/* #define FT_CONFIG_OPTION_ERROR_STRINGS */
+
+
/*************************************************************************/
/*************************************************************************/
/**** ****/
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index b5c6fe2..6b74571 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -493,6 +493,19 @@ FT_BEGIN_HEADER
#undef FT_CONFIG_OPTION_USE_MODULE_ERRORS
+ /**************************************************************************
+ *
+ * Error Strings
+ *
+ * If this macro is set, `FT_Error_String' will return meaningful
+ * descriptions. This is not enabled by default to reduce the overall
+ * size of FreeType.
+ *
+ * More details can be found in the file fterrors.h.
+ */
+/* #define FT_CONFIG_OPTION_ERROR_STRINGS */
+
+
/*************************************************************************/
/*************************************************************************/
/**** ****/