summaryrefslogtreecommitdiff
path: root/Build/source/libs/freetype2/freetype-src/docs/reference/ft2-error_enumerations.html
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/docs/reference/ft2-error_enumerations.html')
-rw-r--r--Build/source/libs/freetype2/freetype-src/docs/reference/ft2-error_enumerations.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/docs/reference/ft2-error_enumerations.html b/Build/source/libs/freetype2/freetype-src/docs/reference/ft2-error_enumerations.html
index c2d1ebda433..7af72539ae5 100644
--- a/Build/source/libs/freetype2/freetype-src/docs/reference/ft2-error_enumerations.html
+++ b/Build/source/libs/freetype2/freetype-src/docs/reference/ft2-error_enumerations.html
@@ -3,7 +3,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>FreeType-2.6.3 API Reference</title>
+<title>FreeType-2.6.4 API Reference</title>
<style type="text/css">
a:link { color: #0000EF; }
a:visited { color: #51188E; }
@@ -100,7 +100,7 @@
<body>
<table class="index-toc-link"><tr><td class="left">[<a href="ft2-index.html">Index</a>]</td><td class="right">[<a href="ft2-toc.html">TOC</a>]</td></tr></table>
-<h1>FreeType-2.6.3 API Reference</h1>
+<h1>FreeType-2.6.4 API Reference</h1>
<h1 id="error_enumerations">Error Enumerations</h1>
@@ -111,32 +111,32 @@
<p>Error definitions are set up with special macros that allow client applications to build a table of error message strings. The strings are not included in a normal build of FreeType&amp;nbsp;2 to save space (most client applications do not use them).</p>
<p>To do so, you have to define the following macros before including this file.</p>
<pre class="colored">
- FT_ERROR_START_LIST
+ FT_ERROR_START_LIST
</pre>
<p>This macro is called before anything else to define the start of the error list. It is followed by several FT_ERROR_DEF calls.</p>
<pre class="colored">
- FT_ERROR_DEF( e, v, s )
+ FT_ERROR_DEF( e, v, s )
</pre>
<p>This macro is called to define one single error. &lsquo;e&rsquo; is the error code identifier (e.g., &lsquo;Invalid_Argument&rsquo;), &lsquo;v&rsquo; is the error's numerical value, and &lsquo;s&rsquo; is the corresponding error string.</p>
<pre class="colored">
- FT_ERROR_END_LIST
+ FT_ERROR_END_LIST
</pre>
<p>This macro ends the list.</p>
<p>Additionally, you have to undefine &lsquo;FTERRORS_H_&rsquo; before #including this file.</p>
<p>Here is a simple example.</p>
<pre class="colored">
- #undef FTERRORS_H_
- #define FT_ERRORDEF( e, v, s ) { e, s },
- #define FT_ERROR_START_LIST {
- #define FT_ERROR_END_LIST { 0, NULL } };
-
- const struct
- {
- int err_code;
- const char* err_msg;
- } ft_errors[] =
-
- #include FT_ERRORS_H
+ #undef FTERRORS_H_
+ #define FT_ERRORDEF( e, v, s ) { e, s },
+ #define FT_ERROR_START_LIST {
+ #define FT_ERROR_END_LIST { 0, NULL } };
+
+ const struct
+ {
+ int err_code;
+ const char* err_msg;
+ } ft_errors[] =
+
+ #include FT_ERRORS_H
</pre>
<p>Note that &lsquo;FT_Err_Ok&rsquo; is <i>not</i> defined with &lsquo;FT_ERRORDEF&rsquo; but with &lsquo;FT_NOERRORDEF&rsquo;; it is always zero.</p>