2000-08-23 23:11:13 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* ftcache.c */
|
|
|
|
/* */
|
2000-08-24 18:29:15 +02:00
|
|
|
/* The FreeType Caching sub-system (body only). */
|
2000-08-23 23:11:13 +02:00
|
|
|
/* */
|
2000-08-24 18:29:15 +02:00
|
|
|
/* Copyright 2000 by */
|
2000-08-23 23:11:13 +02: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. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#define FT_MAKE_OPTION_SINGLE_OBJECT
|
|
|
|
|
2000-12-08 17:17:16 +01:00
|
|
|
#include <ft2build.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-12 23:28:12 +01:00
|
|
|
#include FT_SOURCE_FILE( cache, ftlru.c )
|
|
|
|
#include FT_SOURCE_FILE( cache, ftcmanag.c )
|
|
|
|
#include FT_SOURCE_FILE( cache, ftcglyph.c )
|
|
|
|
#include FT_SOURCE_FILE( cache, ftcchunk.c )
|
|
|
|
#include FT_SOURCE_FILE( cache, ftcimage.c )
|
|
|
|
#include FT_SOURCE_FILE( cache, ftcsbits.c )
|
2000-08-23 23:11:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|