X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffcint.h;h=a05421955fd065da4fb93113893e92d2579865e5;hb=9e612141df7e693ef98071f102cecb5d777ceecb;hp=99ffe927efafedee9590078c2e3fefae3d8870da;hpb=8fe2104a1e5771ac8079a438fa21e00f946be8b3;p=fontconfig.git diff --git a/src/fcint.h b/src/fcint.h index 99ffe92..a054219 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -419,11 +419,6 @@ struct _FcBlanks { FcChar32 *blanks; }; -typedef struct _FcCacheList { - struct _FcCacheList *next; - FcCache *cache; -} FcCacheList; - struct _FcConfig { /* * File names loaded from the configuration -- saved here as the @@ -474,11 +469,6 @@ struct _FcConfig { * match preferrentially */ FcFontSet *fonts[FcSetApplication + 1]; - /* - * Font cache information is mapped from cache files - * the configuration is destroyed, the files need to be unmapped - */ - FcCacheList *caches; /* * Fontconfig can periodically rescan the system configuration * and font directories. This rescanning occurs when font @@ -514,6 +504,12 @@ FcDirCacheBuild (FcFontSet *set, const FcChar8 *dir, FcStrSet *dirs); FcPrivate FcBool FcDirCacheWrite (FcCache *cache, FcConfig *config); +FcPrivate void +FcCacheObjectReference (void *object); + +FcPrivate void +FcCacheObjectDereference (void *object); + FcPrivate void FcCacheFini (void);