Blame doc/FcConfigReference.3

Packit 352660
.\" auto-generated by docbook2man-spec from docbook-utils package
Packit 352660
.TH "FcConfigReference" "3" "30 8月 2018" "Fontconfig 2.13.1" ""
Packit 352660
.SH NAME
Packit 352660
FcConfigReference \- Increment config reference count
Packit 352660
.SH SYNOPSIS
Packit 352660
.nf
Packit 352660
\fB#include <fontconfig/fontconfig.h>
Packit 352660
.sp
Packit 352660
FcConfig * FcConfigReference (FcConfig *\fIconfig\fB);
Packit 352660
.fi\fR
Packit 352660
.SH "DESCRIPTION"
Packit 352660
.PP
Packit 352660
Add another reference to \fIconfig\fR\&. Configs are freed only
Packit 352660
when the reference count reaches zero.
Packit 352660
If \fIconfig\fR is NULL, the current configuration is used.
Packit 352660
In that case this function will be similar to FcConfigGetCurrent() except that
Packit 352660
it increments the reference count before returning and the user is responsible
Packit 352660
for destroying the configuration when not needed anymore.