summaryrefslogtreecommitdiff
path: root/src/cache/ftccache.h
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2006-03-20 12:10:24 +0000
committerDavid Turner <david@freetype.org>2006-03-20 12:10:24 +0000
commit256de4b18f556b963597f171a217c0c1ed045993 (patch)
treea8867ae8ce429ca1c4e4283fbd2946f31fdefb18 /src/cache/ftccache.h
parentdad2a2de0174740fb1bf79953d3620df8a75916f (diff)
downloadfreetype2-256de4b18f556b963597f171a217c0c1ed045993.tar.gz
* include/freetype/cache/ftccache.h,
include/freetype/cache/ftccmap.h, include/freetype/cache/ftcglyph.h include/freetype/cache/ftcimage.h include/freetype/cache/ftcmanag.h include/freetype/cache/ftcmru.h include/freetype/cache/ftcsbits.h: removing these header files from the public include directory. * include/freetype/config/ftheader.h: changing the definition of FT_CACHE_INTERNAL_XXX_H macros to redirect to FT_CACHE_H instead * src/cache/ftcbasic.c, src/cache/ftccache.c, src/cache/ftccache.h, src/cache/ftccback.h, src/cache/ftccmap.c, src/cache/ftcglyph.c, src/cache/ftcglyph.h, src/cache/ftcimage.c, src/cache/ftcimage.h, src/cache/ftcmanag.c, src/cache/ftcmanag.h, src/cache/ftcmru.c, src/cache/ftcmru.h, src/cache/ftcsbits.c, src/cache/ftcsbits.h: modifications to prevent using the FT_CACHE_INTERNAL_XXX_H macros, and grab the headers in 'src/cache' instead (see below).
Diffstat (limited to 'src/cache/ftccache.h')
-rw-r--r--src/cache/ftccache.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cache/ftccache.h b/src/cache/ftccache.h
index 7d3545618..b41b139cd 100644
--- a/src/cache/ftccache.h
+++ b/src/cache/ftccache.h
@@ -20,7 +20,7 @@
#define __FTCCACHE_H__
-#include FT_CACHE_INTERNAL_MRU_H
+#include "ftcmru.h"
FT_BEGIN_HEADER
@@ -165,11 +165,11 @@ FT_BEGIN_HEADER
/* default cache initialize */
- FT_EXPORT( FT_Error )
+ FT_LOCAL( FT_Error )
FTC_Cache_Init( FTC_Cache cache );
/* default cache finalizer */
- FT_EXPORT( void )
+ FT_LOCAL( void )
FTC_Cache_Done( FTC_Cache cache );
/* Call this function to lookup the cache. If no corresponding
@@ -177,13 +177,13 @@ FT_BEGIN_HEADER
* is capable of flushing the cache adequately to make room for the
* new cache object.
*/
- FT_EXPORT( FT_Error )
+ FT_LOCAL( FT_Error )
FTC_Cache_Lookup( FTC_Cache cache,
FT_UInt32 hash,
FT_Pointer query,
FTC_Node *anode );
- FT_EXPORT( FT_Error )
+ FT_LOCAL( FT_Error )
FTC_Cache_NewNode( FTC_Cache cache,
FT_UInt32 hash,
FT_Pointer query,
@@ -199,7 +199,7 @@ FT_BEGIN_HEADER
* in further lookup requests, and will be flushed on demand from
* the cache normally when its reference count reaches 0.
*/
- FT_EXPORT( void )
+ FT_LOCAL( void )
FTC_Cache_RemoveFaceID( FTC_Cache cache,
FTC_FaceID face_id );
@@ -276,7 +276,7 @@ FT_BEGIN_HEADER
*
* It is used when creating a new cache node, or within a lookup
* that needs to allocate data (e.g., the sbit cache lookup).
- *
+ *
* Example:
*
* {