xenocara/dist/fontconfig/doc/FcConfigReference.3
matthieu 6219851df2 Update to fontconfig 2.12.1.
Tested by krw@, dcoppa@, ok dcoppa@.
2016-08-09 18:57:41 +00:00

19 lines
717 B
Groff

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigReference" "3" "05 8月 2016" "Fontconfig 2.12.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.