logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

FcConfigReference - Increment config reference count

Description

Add another reference to config. Configs are freed only when the reference count reaches zero. If config is NULL, the current configuration is used. In that case this function will be similar to FcConfigGetCurrent() except that it increments the reference count before returning and the user is responsible for destroying the configuration when not needed anymore. Fontconfig 2.15.0 04 July 2025 FcConfigReference(3)

Name

FcConfigReference - Increment config reference count

Synopsis

#include<fontconfig/fontconfig.h>FcConfig*FcConfigReference(FcConfig*config);

See Also