]> git.wh0rd.org - fontconfig.git/commit
Reference count cache objects.
authorKeith Packard <keithp@neko.keithp.com>
Tue, 5 Sep 2006 05:20:25 +0000 (22:20 -0700)
committerKeith Packard <keithp@neko.keithp.com>
Tue, 5 Sep 2006 05:20:25 +0000 (22:20 -0700)
commit9e612141df7e693ef98071f102cecb5d777ceecb
treee172c0b3e2ba993943567fffe05c35ef682f0989
parent8fe2104a1e5771ac8079a438fa21e00f946be8b3
Reference count cache objects.

Caches contain patterns and character sets which are reference counted and
visible to applications. Reference count the underlying cache object so that
it stays around until all reference objects are no longer in use.

This is less efficient than just leaving all caches around forever, but does
avoid eternal size increases in case applications ever bother to actually
look for changes in the font configuration.
src/fccache.c
src/fccfg.c
src/fccharset.c
src/fcint.h
src/fcpat.c