|
Packit |
352660 |
/*
|
|
Packit |
352660 |
* fontconfig/doc/fcvalue.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@ void
|
|
Packit |
352660 |
@FUNC@ FcValueDestroy
|
|
Packit |
352660 |
@TYPE1@ FcValue% @ARG1@ v
|
|
Packit |
352660 |
@PURPOSE@ Free a value
|
|
Packit |
352660 |
@DESC@
|
|
Packit |
352660 |
Frees any memory referenced by <parameter>v</parameter>. Values of type FcTypeString,
|
|
Packit |
352660 |
FcTypeMatrix and FcTypeCharSet reference memory, the other types do not.
|
|
Packit |
352660 |
@@
|
|
Packit |
352660 |
|
|
Packit |
352660 |
@RET@ FcValue
|
|
Packit |
352660 |
@FUNC@ FcValueSave
|
|
Packit |
352660 |
@TYPE1@ FcValue% @ARG1@ v
|
|
Packit |
352660 |
@PURPOSE@ Copy a value
|
|
Packit |
352660 |
@DESC@
|
|
Packit |
352660 |
Returns a copy of <parameter>v</parameter> duplicating any object referenced by it so that <parameter>v</parameter>
|
|
Packit |
352660 |
may be safely destroyed without harming the new value.
|
|
Packit |
352660 |
@@
|
|
Packit |
352660 |
|
|
Packit |
352660 |
@RET@ void
|
|
Packit |
352660 |
@FUNC@ FcValuePrint
|
|
Packit |
352660 |
@TYPE1@ FcValue% @ARG1@ v
|
|
Packit |
352660 |
@PURPOSE@ Print a value to stdout
|
|
Packit |
352660 |
@DESC@
|
|
Packit |
352660 |
Prints a human-readable representation of <parameter>v</parameter> to
|
|
Packit |
352660 |
stdout. The format should not be considered part of the library
|
|
Packit |
352660 |
specification as it may change in the future.
|
|
Packit |
352660 |
@@
|
|
Packit |
352660 |
|
|
Packit |
352660 |
@RET@ FcBool
|
|
Packit |
352660 |
@FUNC@ FcValueEqual
|
|
Packit |
352660 |
@TYPE1@ FcValue% @ARG1@ v_a
|
|
Packit |
352660 |
@TYPE2@ FcValue% @ARG2@ v_b
|
|
Packit |
352660 |
@PURPOSE@ Test two values for equality
|
|
Packit |
352660 |
@DESC@
|
|
Packit |
352660 |
Compares two values. Integers and Doubles are compared as numbers; otherwise
|
|
Packit |
352660 |
the two values have to be the same type to be considered equal. Strings are
|
|
Packit |
352660 |
compared ignoring case.
|
|
Packit |
352660 |
@@
|