summaryrefslogtreecommitdiff
path: root/src/cache/ftcerror.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache/ftcerror.h')
-rw-r--r--src/cache/ftcerror.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/cache/ftcerror.h b/src/cache/ftcerror.h
new file mode 100644
index 000000000..456c249d2
--- /dev/null
+++ b/src/cache/ftcerror.h
@@ -0,0 +1,43 @@
+/***************************************************************************/
+/* */
+/* ftcerror.h */
+/* */
+/* Caching sub-system error codes (specification only). */
+/* */
+/* Copyright 2001 by */
+/* David Turner, Robert Wilhelm, and Werner Lemberg. */
+/* */
+/* This file is part of the FreeType project, and may only be used, */
+/* modified, and distributed under the terms of the FreeType project */
+/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
+/* this file you indicate that you have read the license and */
+/* understand and accept it fully. */
+/* */
+/***************************************************************************/
+
+
+ /*************************************************************************/
+ /* */
+ /* This file is used to define the caching sub-system error enumeration */
+ /* constants. */
+ /* */
+ /*************************************************************************/
+
+#ifndef __FTCERROR_H__
+#define __FTCERROR_H__
+
+#include FT_MODULE_ERRORS_H
+
+#undef __FTERRORS_H__
+
+#define FT_ERRORDEF( e, v, s ) FTC_Err_ ## e = v + FT_Mod_Err_Cache,
+#define FT_NOERRORDEF( e, v, s ) FTC_Err_ ## e = v,
+
+#define FT_ERROR_START_LIST enum {
+#define FT_ERROR_END_LIST FTC_Err_Max };
+
+#include FT_ERRORS_H
+
+#endif /* __FTCERROR_H__ */
+
+/* END */