summaryrefslogtreecommitdiffstats
path: root/thirdparties/common/include/libfreetype/freetype2/freetype/config/ftstdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparties/common/include/libfreetype/freetype2/freetype/config/ftstdlib.h')
-rwxr-xr-xthirdparties/common/include/libfreetype/freetype2/freetype/config/ftstdlib.h122
1 files changed, 61 insertions, 61 deletions
diff --git a/thirdparties/common/include/libfreetype/freetype2/freetype/config/ftstdlib.h b/thirdparties/common/include/libfreetype/freetype2/freetype/config/ftstdlib.h
index b940efc..55da6be 100755
--- a/thirdparties/common/include/libfreetype/freetype2/freetype/config/ftstdlib.h
+++ b/thirdparties/common/include/libfreetype/freetype2/freetype/config/ftstdlib.h
@@ -17,16 +17,16 @@
/***************************************************************************/
- /*************************************************************************/
- /* */
- /* This file is used to group all #includes to the ANSI C library that */
- /* FreeType normally requires. It also defines macros to rename the */
- /* standard functions within the FreeType source code. */
- /* */
- /* Load a file which defines __FTSTDLIB_H__ before this one to override */
- /* it. */
- /* */
- /*************************************************************************/
+/*************************************************************************/
+/* */
+/* This file is used to group all #includes to the ANSI C library that */
+/* FreeType normally requires. It also defines macros to rename the */
+/* standard functions within the FreeType source code. */
+/* */
+/* Load a file which defines __FTSTDLIB_H__ before this one to override */
+/* it. */
+/* */
+/*************************************************************************/
#ifndef __FTSTDLIB_H__
@@ -38,23 +38,23 @@
#define ft_ptrdiff_t ptrdiff_t
- /**********************************************************************/
- /* */
- /* integer limits */
- /* */
- /* UINT_MAX and ULONG_MAX are used to automatically compute the size */
- /* of `int' and `long' in bytes at compile-time. So far, this works */
- /* for all platforms the library has been tested on. */
- /* */
- /* Note that on the extremely rare platforms that do not provide */
- /* integer types that are _exactly_ 16 and 32 bits wide (e.g. some */
- /* old Crays where `int' is 36 bits), we do not make any guarantee */
- /* about the correct behaviour of FT2 with all fonts. */
- /* */
- /* In these case, `ftconfig.h' will refuse to compile anyway with a */
- /* message like `couldn't find 32-bit type' or something similar. */
- /* */
- /**********************************************************************/
+/**********************************************************************/
+/* */
+/* integer limits */
+/* */
+/* UINT_MAX and ULONG_MAX are used to automatically compute the size */
+/* of `int' and `long' in bytes at compile-time. So far, this works */
+/* for all platforms the library has been tested on. */
+/* */
+/* Note that on the extremely rare platforms that do not provide */
+/* integer types that are _exactly_ 16 and 32 bits wide (e.g. some */
+/* old Crays where `int' is 36 bits), we do not make any guarantee */
+/* about the correct behaviour of FT2 with all fonts. */
+/* */
+/* In these case, `ftconfig.h' will refuse to compile anyway with a */
+/* message like `couldn't find 32-bit type' or something similar. */
+/* */
+/**********************************************************************/
#include <limits.h>
@@ -67,11 +67,11 @@
#define FT_ULONG_MAX ULONG_MAX
- /**********************************************************************/
- /* */
- /* character and string processing */
- /* */
- /**********************************************************************/
+/**********************************************************************/
+/* */
+/* character and string processing */
+/* */
+/**********************************************************************/
#include <string.h>
@@ -91,11 +91,11 @@
#define ft_strstr strstr
- /**********************************************************************/
- /* */
- /* file handling */
- /* */
- /**********************************************************************/
+/**********************************************************************/
+/* */
+/* file handling */
+/* */
+/**********************************************************************/
#include <stdio.h>
@@ -109,11 +109,11 @@
#define ft_sprintf sprintf
- /**********************************************************************/
- /* */
- /* sorting */
- /* */
- /**********************************************************************/
+/**********************************************************************/
+/* */
+/* sorting */
+/* */
+/**********************************************************************/
#include <stdlib.h>
@@ -121,11 +121,11 @@
#define ft_qsort qsort
- /**********************************************************************/
- /* */
- /* memory allocation */
- /* */
- /**********************************************************************/
+/**********************************************************************/
+/* */
+/* memory allocation */
+/* */
+/**********************************************************************/
#define ft_scalloc calloc
@@ -134,36 +134,36 @@
#define ft_srealloc realloc
- /**********************************************************************/
- /* */
- /* miscellaneous */
- /* */
- /**********************************************************************/
+/**********************************************************************/
+/* */
+/* miscellaneous */
+/* */
+/**********************************************************************/
#define ft_atol atol
#define ft_labs labs
- /**********************************************************************/
- /* */
- /* execution control */
- /* */
- /**********************************************************************/
+/**********************************************************************/
+/* */
+/* execution control */
+/* */
+/**********************************************************************/
#include <setjmp.h>
#define ft_jmp_buf jmp_buf /* note: this cannot be a typedef since */
- /* jmp_buf is defined as a macro */
- /* on certain platforms */
+/* jmp_buf is defined as a macro */
+/* on certain platforms */
#define ft_longjmp longjmp
#define ft_setjmp( b ) setjmp( *(ft_jmp_buf*) &(b) ) /* same thing here */
- /* the following is only used for debugging purposes, i.e., if */
- /* FT_DEBUG_LEVEL_ERROR or FT_DEBUG_LEVEL_TRACE are defined */
+/* the following is only used for debugging purposes, i.e., if */
+/* FT_DEBUG_LEVEL_ERROR or FT_DEBUG_LEVEL_TRACE are defined */
#include <stdarg.h>
OpenPOWER on IntegriCloud