19 lines
718 B
Groff
19 lines
718 B
Groff
|
.\" auto-generated by docbook2man-spec from docbook-utils package
|
||
|
.TH "FcConfigReference" "3" "21 10月 2022" "Fontconfig 2.14.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.
|