Blob Blame History Raw
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigReference" "3" "30 8月 2018" "Fontconfig 2.13.1" ""
.SH NAME
FcConfigReference \- Increment config reference count
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcConfig * FcConfigReference (FcConfig *\fIconfig\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Add another reference to \fIconfig\fR\&. Configs are freed only
when the reference count reaches zero.
If \fIconfig\fR 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.