Edit

kc3-lang/freetype/src/smooth/ftsmerrs.h

Branch :

  • Show log

    Commit

  • Author : David Turner
    Date : 2020-06-08 13:31:55
    Hash : e1339133
    Message : Make macros for header file names optional. We no longer have to take care of the 8.3 file name limit; this allows us (a) to introduce longer, meaningful file names, and (b) to avoid macro names in `#include' lines altogether since some compilers (most notably Visual C++) doesn't support this properly. */*: Replace #include FOO_H with #include <freetype/foo.h> or something similar. Also update the documentation.

  • src/smooth/ftsmerrs.h
  • /****************************************************************************
     *
     * ftsmerrs.h
     *
     *   smooth renderer error codes (specification only).
     *
     * Copyright (C) 2001-2020 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 smooth renderer error enumeration
       * constants.
       *
       */
    
    #ifndef FTSMERRS_H_
    #define FTSMERRS_H_
    
    #include <freetype/ftmoderr.h>
    
    #undef FTERRORS_H_
    
    #undef  FT_ERR_PREFIX
    #define FT_ERR_PREFIX  Smooth_Err_
    #define FT_ERR_BASE    FT_Mod_Err_Smooth
    
    #include <freetype/fterrors.h>
    
    #endif /* FTSMERRS_H_ */
    
    
    /* END */