Data Structures |
| struct | FTC_NodeRec |
| struct | FTC_CacheClassRec |
| struct | FTC_CacheRec |
Defines |
| #define | _FTC_FACE_ID_HASH(i) ((FT_PtrDist)(( (FT_PtrDist)(i) >> 3 ) ^ ( (FT_PtrDist)(i) << 7 ))) |
| #define | FTC_NODE(x) ( (FTC_Node)(x) ) |
| #define | FTC_NODE_P(x) ( (FTC_Node*)(x) ) |
| #define | FTC_NODE__NEXT(x) FTC_NODE( (x)->mru.next ) |
| #define | FTC_NODE__PREV(x) FTC_NODE( (x)->mru.prev ) |
| #define | FTC_CACHE(x) ( (FTC_Cache)(x) ) |
| #define | FTC_CACHE_P(x) ( (FTC_Cache*)(x) ) |
| #define | FTC_CACHE_LOOKUP_CMP(cache, nodecmp, hash, query, node, error) |
| #define | FTC_CACHE_TRYLOOP(cache) |
| #define | FTC_CACHE_TRYLOOP_END() |
Typedefs |
| typedef struct FTC_CacheRec_ * | FTC_Cache |
| typedef struct FTC_CacheClassRec_ * | FTC_CacheClass |
| typedef FT_Error(* | FTC_Node_NewFunc )(FTC_Node *pnode, FT_Pointer query, FTC_Cache cache) |
| typedef FT_Offset(* | FTC_Node_WeightFunc )(FTC_Node node, FTC_Cache cache) |
| typedef FT_Bool(* | FTC_Node_CompareFunc )(FTC_Node node, FT_Pointer key, FTC_Cache cache) |
| typedef void(* | FTC_Node_FreeFunc )(FTC_Node node, FTC_Cache cache) |
| typedef FT_Error(* | FTC_Cache_InitFunc )(FTC_Cache cache) |
| typedef void(* | FTC_Cache_DoneFunc )(FTC_Cache cache) |
Functions |
| | FTC_Cache_Init (FTC_Cache cache) |
| | FTC_Cache_Done (FTC_Cache cache) |
| | FTC_Cache_NewNode (FTC_Cache cache, FT_PtrDist hash, FT_Pointer query, FTC_Node *anode) |
| | FTC_Cache_RemoveFaceID (FTC_Cache cache, FTC_FaceID face_id) |