Deprecate FcName(Un)RegisterObjectTypes / FcName(Un)RegisterConstants
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 20 Sep 2012 18:01:47 +0000 (14:01 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 2 Jan 2013 04:55:08 +0000 (22:55 -0600)
commit7c0f79c5fe9db50b55112a1048a8f1c6a80e96fa
treee04c37fab041025227203ee79842b2db818e7624
parent1e2c0d70527c39f761c5770d93a5c1f8e87522bc
Deprecate FcName(Un)RegisterObjectTypes / FcName(Un)RegisterConstants

These never worked as intended.  The problem is, if Fontconfig tries to
read config files when these new types / constants are not registered,
it errs.  As a result, no defined types / constants are usable from
config files.  Which makes these really useless.  Xft was the only user
of this API and even there it's not really used.  Just kill it.

One inch closer to thread-safety since we can fix the object-type hash
table at compile time.
doc/fcconstant.fncs
doc/fcobjecttype.fncs
fontconfig/fontconfig.h
src/fcname.c