| Index: third_party/freetype/include/freetype/fterrdef.h
|
| diff --git a/third_party/freetype/include/fterrdef.h b/third_party/freetype/include/freetype/fterrdef.h
|
| similarity index 82%
|
| rename from third_party/freetype/include/fterrdef.h
|
| rename to third_party/freetype/include/freetype/fterrdef.h
|
| index 99b2fadec6dfd67cd26047bfbae6900e1cd7f43f..d865da7127c25068f4935ffe6e5fbad5b31f6dea 100644
|
| --- a/third_party/freetype/include/fterrdef.h
|
| +++ b/third_party/freetype/include/freetype/fterrdef.h
|
| @@ -4,7 +4,7 @@
|
| /* */
|
| /* FreeType error codes (specification). */
|
| /* */
|
| -/* Copyright 2002, 2004, 2006, 2007, 2010-2013 by */
|
| +/* Copyright 2002-2015 by */
|
| /* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
| /* */
|
| /* This file is part of the FreeType project, and may only be used, */
|
| @@ -16,18 +16,43 @@
|
| /***************************************************************************/
|
|
|
|
|
| - /*******************************************************************/
|
| - /*******************************************************************/
|
| - /***** *****/
|
| - /***** LIST OF ERROR CODES/MESSAGES *****/
|
| - /***** *****/
|
| - /*******************************************************************/
|
| - /*******************************************************************/
|
| + /*************************************************************************/
|
| + /* */
|
| + /* <Section> */
|
| + /* error_code_values */
|
| + /* */
|
| + /* <Title> */
|
| + /* Error Code Values */
|
| + /* */
|
| + /* <Abstract> */
|
| + /* All possible error codes returned by FreeType functions. */
|
| + /* */
|
| + /* <Description> */
|
| + /* The list below is taken verbatim from the file `fterrdef.h' */
|
| + /* (loaded automatically by including `FT_FREETYPE_H'). The first */
|
| + /* argument of the `FT_ERROR_DEF_' macro is the error label; by */
|
| + /* default, the prefix `FT_Err_' gets added so that you get error */
|
| + /* names like `FT_Err_Cannot_Open_Resource'. The second argument is */
|
| + /* the error code, and the last argument an error string, which is not */
|
| + /* used by FreeType. */
|
| + /* */
|
| + /* Within your application you should *only* use error names and */
|
| + /* *never* its numeric values! The latter might (and actually do) */
|
| + /* change in forthcoming FreeType versions. */
|
| + /* */
|
| + /* Macro `FT_NOERRORDEF_' defines `FT_Err_Ok', which is always zero. */
|
| + /* See the `Error Enumerations' subsection how to automatically */
|
| + /* generate a list of error strings. */
|
| + /* */
|
| + /*************************************************************************/
|
|
|
|
|
| - /* You need to define both FT_ERRORDEF_ and FT_NOERRORDEF_ before */
|
| - /* including this file. */
|
| -
|
| + /*************************************************************************/
|
| + /* */
|
| + /* <Enum> */
|
| + /* FT_Err_XXX */
|
| + /* */
|
| + /*************************************************************************/
|
|
|
| /* generic errors */
|
|
|
| @@ -245,5 +270,7 @@
|
| FT_ERRORDEF_( Corrupted_Font_Glyphs, 0xBA,
|
| "Font glyphs corrupted or missing fields" )
|
|
|
| + /* */
|
| +
|
|
|
| /* END */
|
|
|