2000-12-05 01:53:55 +03:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* ft2build.h */
|
|
|
|
/* */
|
|
|
|
/* FreeType 2 build and setup macros. */
|
|
|
|
/* (Generic version) */
|
|
|
|
/* */
|
2001-06-28 21:49:10 +04:00
|
|
|
/* Copyright 1996-2001 by */
|
2000-12-05 01:53:55 +03:00
|
|
|
/* 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. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
|
* include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT):
Removed. ANSI C doesn't (explicitly) allow macro expansion in
arguments using `##'.
(FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory
names directly. Make them configurable. Use `##' to strip leading
and trailing spaces from arguments.
* builds/unix/ft2unix.h: Adapted.
* src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream,
ft_close_stream): Use FT_CALLBACK_DEF.
* builds/unix/ftsystem.c: Use new header scheme.
(FT_Done_Memory): Use free() from FT_Memory structure.
* src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes.
* include/freetype/config/ft2build.h (FT2_CONFIG_ROOT,
FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE,
FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
2000-12-13 01:28:12 +03:00
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* This file corresponds to the default "ft2build.h" file for */
|
|
|
|
/* FreeType 2. It uses the "freetype" include root. */
|
|
|
|
/* */
|
|
|
|
/* Note that specific platforms might use a different configuration. */
|
|
|
|
/* See builds/unix/ft2unix.h for an example. */
|
|
|
|
/* */
|
|
|
|
/*************************************************************************/
|
|
|
|
|
|
|
|
|
2000-12-05 01:53:55 +03:00
|
|
|
#ifndef __FT2_BUILD_GENERIC_H__
|
|
|
|
#define __FT2_BUILD_GENERIC_H__
|
|
|
|
|
2001-03-18 03:26:23 +03:00
|
|
|
#include <freetype/config/ftheader.h>
|
2000-12-05 01:53:55 +03:00
|
|
|
|
|
|
|
#endif /* __FT2_BUILD_GENERIC_H__ */
|
|
|
|
|
* include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT):
Removed. ANSI C doesn't (explicitly) allow macro expansion in
arguments using `##'.
(FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory
names directly. Make them configurable. Use `##' to strip leading
and trailing spaces from arguments.
* builds/unix/ft2unix.h: Adapted.
* src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream,
ft_close_stream): Use FT_CALLBACK_DEF.
* builds/unix/ftsystem.c: Use new header scheme.
(FT_Done_Memory): Use free() from FT_Memory structure.
* src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes.
* include/freetype/config/ft2build.h (FT2_CONFIG_ROOT,
FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE,
FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
2000-12-13 01:28:12 +03:00
|
|
|
|
2000-12-05 01:53:55 +03:00
|
|
|
/* END */
|