X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=doc%2Ffccharset.fncs;h=004fdc3a0b9f67a550354d2b9b5a562054d9f2c7;hb=52960d05ebb8af34a302e3959978d2930a39fb39;hp=93e1f5c1e5fcfac1f3e0e14bd8d466930185a61b;hpb=d230cf144f84c8a50b932c8b89daa55c1a3620d8;p=fontconfig.git diff --git a/doc/fccharset.fncs b/doc/fccharset.fncs index 93e1f5c..004fdc3 100644 --- a/doc/fccharset.fncs +++ b/doc/fccharset.fncs @@ -13,9 +13,9 @@ * representations about the suitability of this software for any purpose. It * is provided "as is" without express or implied warranty. * - * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO - * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR @@ -51,6 +51,17 @@ returning FcFalse on failure, either as a result of a constant set or from running out of memory. @@ +@RET@ FcBool +@FUNC@ FcCharSetDelChar +@TYPE1@ FcCharSet * @ARG1@ fcs +@TYPE2@ FcChar32% @ARG2@ ucs4 +@PURPOSE@ Add a character to a charset +@DESC@ +FcCharSetDelChar deletes a single unicode char from the set, +returning FcFalse on failure, either as a result of a constant set or from +running out of memory. +@@ + @RET@ FcCharSet * @FUNC@ FcCharSetCopy @TYPE1@ FcCharSet * @ARG1@ src @@ -98,17 +109,19 @@ Returns a set including only those chars found in either aa but not b. @@ -@RET@ FcCharSet * +@RET@ FcBool @FUNC@ FcCharSetMerge -@TYPE1@ const FcCharSet * @ARG1@ a +@TYPE1@ FcCharSet * @ARG1@ a @TYPE2@ const FcCharSet * @ARG2@ b +@TYPE3@ FcBool * @ARG3@ changed @PURPOSE@ Merge charsets @DESC@ -If a is NULL, returns a copy of b. -If a is an FcCharSet object owned by fontconfig that -cannot be modified, it returns the union of a and -b in a newly-created FcCharSet object. -Otherwise, adds all chars in b to a and returns a. In other words, this is an in-place versionof FcCharSetUnion. +Adds all chars in b to a. +In other words, this is an in-place version of FcCharSetUnion. +If changed is not NULL, then it returns whether any new +chars from b were added to a. +Returns FcFalse on failure, either when a is a constant +set or from running out of memory. @@ @RET@ FcBool