1. NAME

FcConfigReference - Increment config reference count

2. SYNOPSIS

 
Sélectionnez
\fB#include <fontconfig.h>
 
 FcConfig * FcConfigReference(FcConfig *\fIconfig\fB);
 \fR.fi

3. 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.

4. VERSION

Fontconfig version 2.8.0