Edit

kc3-lang/freetype/include/internal/internal.h

Branch :

  • Show log

    Commit

  • Author : Werner Lemberg
    Date : 2013-11-13 08:55:46
    Hash : fae38207
    Message : Simplify header file hierarchy. This large patch changes the header file directory layout from `include/freetype/...' to `include/...', effectively removing one level. Since the file `ft2build.h' is also located in `include' (and it stays there even after installation), all FreeType header files are now in a single directory. Applications that use (a) `freetype-config' or FreeType's `pkg-config' file to get the include directory for the compiler, and (b) the documented way for header inclusion like #include <ft2build.h> #include FT_FREETYPE_H ... don't need any change to the source code. * include/freetype/*: Move up to... * include/*: ... this directory. * builds/amiga/include/freetype/*: Move up to... * builds/amiga/include/*: ... this directory. */*: Essentially do `s@/freetype/@/@' where appropriate. * CMakeList.txt: Simplify. * builds/unix/freetype-config.in, builds/unix/freetype2.in: For `--cflags', return a single directory. * builds/unix/install.mk (install): No longer try to remove `cache' and `internal' subdirectories; instead, remove the `freetype' subdirectory.

  • include/internal/internal.h
  • /***************************************************************************/
    /*                                                                         */
    /*  internal.h                                                             */
    /*                                                                         */
    /*    Internal header files (specification only).                          */
    /*                                                                         */
    /*  Copyright 1996-2004, 2013 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 automatically included by `ft2build.h'.                  */
      /* Do not include it manually!                                           */
      /*                                                                       */
      /*************************************************************************/
    
    
    #define FT_INTERNAL_OBJECTS_H             <internal/ftobjs.h>
    #define FT_INTERNAL_PIC_H                 <internal/ftpic.h>
    #define FT_INTERNAL_STREAM_H              <internal/ftstream.h>
    #define FT_INTERNAL_MEMORY_H              <internal/ftmemory.h>
    #define FT_INTERNAL_DEBUG_H               <internal/ftdebug.h>
    #define FT_INTERNAL_CALC_H                <internal/ftcalc.h>
    #define FT_INTERNAL_DRIVER_H              <internal/ftdriver.h>
    #define FT_INTERNAL_TRACE_H               <internal/fttrace.h>
    #define FT_INTERNAL_GLYPH_LOADER_H        <internal/ftgloadr.h>
    #define FT_INTERNAL_SFNT_H                <internal/sfnt.h>
    #define FT_INTERNAL_SERVICE_H             <internal/ftserv.h>
    #define FT_INTERNAL_RFORK_H               <internal/ftrfork.h>
    #define FT_INTERNAL_VALIDATE_H            <internal/ftvalid.h>
    
    #define FT_INTERNAL_TRUETYPE_TYPES_H      <internal/tttypes.h>
    #define FT_INTERNAL_TYPE1_TYPES_H         <internal/t1types.h>
    
    #define FT_INTERNAL_POSTSCRIPT_AUX_H      <internal/psaux.h>
    #define FT_INTERNAL_POSTSCRIPT_HINTS_H    <internal/pshints.h>
    #define FT_INTERNAL_POSTSCRIPT_GLOBALS_H  <internal/psglobal.h>
    
    #define FT_INTERNAL_AUTOHINT_H            <internal/autohint.h>
    
    
    #if defined( _MSC_VER )      /* Visual C++ (and Intel C++) */
    
      /* We disable the warning `conditional expression is constant' here */
      /* in order to compile cleanly with the maximum level of warnings.  */
      /* In particular, the warning complains about stuff like `while(0)' */
      /* which is very useful in macro definitions.  There is no benefit  */
      /* in having it enabled.                                            */
    #pragma warning( disable : 4127 )
    
    #endif /* _MSC_VER */
    
    
    /* END */