xenocara/lib/fontconfig/doc/FcConfigReference.3

22 lines
726 B
Groff

.\\" auto-generated by docbook2man-spec $Revision: 1.1 $
.TH "FcConfigReference" "3" "18 November 2009" "" ""
.SH NAME
FcConfigReference \- Increment config reference count
.SH SYNOPSIS
.nf
\fB#include <fontconfig.h>
.sp
FcConfig * FcConfigReference(FcConfig *\fIconfig\fB);
\fR.fi
.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.
.SH "VERSION"
.PP
Fontconfig version 2.8.0