Blame doc/fcobjectset.fncs

Packit 352660
/*
Packit 352660
 * fontconfig/doc/fcobjectset.fncs
Packit 352660
 *
Packit 352660
 * Copyright © 2003 Keith Packard
Packit 352660
 *
Packit 352660
 * Permission to use, copy, modify, distribute, and sell this software and its
Packit 352660
 * documentation for any purpose is hereby granted without fee, provided that
Packit 352660
 * the above copyright notice appear in all copies and that both that
Packit 352660
 * copyright notice and this permission notice appear in supporting
Packit 352660
 * documentation, and that the name of the author(s) not be used in
Packit 352660
 * advertising or publicity pertaining to distribution of the software without
Packit 352660
 * specific, written prior permission.  The authors make no
Packit 352660
 * representations about the suitability of this software for any purpose.  It
Packit 352660
 * is provided "as is" without express or implied warranty.
Packit 352660
 *
Packit 352660
 * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 352660
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 352660
 * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 352660
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
Packit 352660
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
Packit 352660
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
Packit 352660
 * PERFORMANCE OF THIS SOFTWARE.
Packit 352660
 */
Packit 352660
@RET@		FcObjectSet *
Packit 352660
@FUNC@		FcObjectSetCreate
Packit 352660
@TYPE1@		void
Packit 352660
@PURPOSE@	Create an object set
Packit 352660
@DESC@
Packit 352660
Creates an empty set.
Packit 352660
@@
Packit 352660
Packit 352660
@RET@		FcBool
Packit 352660
@FUNC@		FcObjectSetAdd
Packit 352660
@TYPE1@		FcObjectSet *			@ARG1@		os
Packit 352660
@TYPE2@		const char *			@ARG2@		object
Packit 352660
@PURPOSE@	Add to an object set
Packit 352660
@DESC@
Packit 352660
Adds a property name to the set. Returns FcFalse if the property name cannot be
Packit 352660
inserted into the set (due to allocation failure). Otherwise returns FcTrue.
Packit 352660
@@
Packit 352660
Packit 352660
@RET@		void
Packit 352660
@FUNC@		FcObjectSetDestroy
Packit 352660
@TYPE1@		FcObjectSet *			@ARG1@		os
Packit 352660
@PURPOSE@	Destroy an object set
Packit 352660
@DESC@
Packit 352660
Destroys an object set.
Packit 352660
@@
Packit 352660
Packit 352660
@RET@		FcObjectSet *
Packit 352660
@FUNC@		FcObjectSetBuild
Packit 352660
@TYPE1@		const char *			@ARG1@		first
Packit 352660
@TYPE2@		...
Packit 352660
Packit 352660
@PROTOTYPE+@
Packit 352660
@RET+@		FcObjectSet *
Packit 352660
@FUNC+@		FcObjectSetVaBuild
Packit 352660
@TYPE1+@	const char *			@ARG1+@		first
Packit 352660
@TYPE2+@	va_list%			@ARG2+@		va
Packit 352660
Packit 352660
@PROTOTYPE++@
Packit 352660
@RET++@		void
Packit 352660
@FUNC++@	FcObjectSetVapBuild
Packit 352660
@TYPE1++@	FcObjectSet *			@ARG1++@	result
Packit 352660
@TYPE2++@	const char *			@ARG2++@	first
Packit 352660
@TYPE3++@	va_list%			@ARG3++@	va
Packit 352660
Packit 352660
@PURPOSE@	Build object set from args
Packit 352660
@DESC@
Packit 352660
These build an object set from a null-terminated list of property names.
Packit 352660
FcObjectSetVapBuild is a macro version of FcObjectSetVaBuild which returns
Packit 352660
the result in the <parameter>result</parameter> variable directly.
Packit 352660
@@