Fix docs re 'orig' argument of FcPatternBuild and family
Now call it 'p' or 'pattern', since it's modified in place. There is no copying.
This commit is contained in:
parent
bb65f58f63
commit
74e16ceeea
|
@ -279,20 +279,20 @@ in preference to FcPatternGet to provide compile-time typechecking.
|
||||||
|
|
||||||
@RET@ FcPattern *
|
@RET@ FcPattern *
|
||||||
@FUNC@ FcPatternBuild
|
@FUNC@ FcPatternBuild
|
||||||
@TYPE1@ FcPattern * @ARG1@ orig
|
@TYPE1@ FcPattern * @ARG1@ pattern
|
||||||
@TYPE2@ ...
|
@TYPE2@ ...
|
||||||
|
|
||||||
@PROTOTYPE+@
|
@PROTOTYPE+@
|
||||||
@RET+@ FcPattern *
|
@RET+@ FcPattern *
|
||||||
@FUNC+@ FcPatternVaBuild
|
@FUNC+@ FcPatternVaBuild
|
||||||
@TYPE1+@ FcPattern * @ARG1+@ orig
|
@TYPE1+@ FcPattern * @ARG1+@ pattern
|
||||||
@TYPE2+@ va_list% @ARG2+@ va
|
@TYPE2+@ va_list% @ARG2+@ va
|
||||||
|
|
||||||
@PROTOTYPE++@
|
@PROTOTYPE++@
|
||||||
@RET++@ void
|
@RET++@ void
|
||||||
@FUNC++@ FcPatternVapBuild
|
@FUNC++@ FcPatternVapBuild
|
||||||
@TYPE1++@ FcPattern * @ARG1++@ result
|
@TYPE1++@ FcPattern * @ARG1++@ result
|
||||||
@TYPE2++@ FcPattern * @ARG2++@ orig
|
@TYPE2++@ FcPattern * @ARG2++@ pattern
|
||||||
@TYPE3++@ va_list% @ARG3++@ va
|
@TYPE3++@ va_list% @ARG3++@ va
|
||||||
|
|
||||||
@PURPOSE@ Create patterns from arguments
|
@PURPOSE@ Create patterns from arguments
|
||||||
|
|
|
@ -822,10 +822,10 @@ FcPublic FcResult
|
||||||
FcPatternGetLangSet (const FcPattern *p, const char *object, int n, FcLangSet **ls);
|
FcPatternGetLangSet (const FcPattern *p, const char *object, int n, FcLangSet **ls);
|
||||||
|
|
||||||
FcPublic FcPattern *
|
FcPublic FcPattern *
|
||||||
FcPatternVaBuild (FcPattern *orig, va_list va);
|
FcPatternVaBuild (FcPattern *p, va_list va);
|
||||||
|
|
||||||
FcPublic FcPattern *
|
FcPublic FcPattern *
|
||||||
FcPatternBuild (FcPattern *orig, ...) FC_ATTRIBUTE_SENTINEL(0);
|
FcPatternBuild (FcPattern *p, ...) FC_ATTRIBUTE_SENTINEL(0);
|
||||||
|
|
||||||
/* fcstr.c */
|
/* fcstr.c */
|
||||||
|
|
||||||
|
|
12
src/fcpat.c
12
src/fcpat.c
|
@ -954,23 +954,23 @@ FcPatternReference (FcPattern *p)
|
||||||
}
|
}
|
||||||
|
|
||||||
FcPattern *
|
FcPattern *
|
||||||
FcPatternVaBuild (FcPattern *orig, va_list va)
|
FcPatternVaBuild (FcPattern *p, va_list va)
|
||||||
{
|
{
|
||||||
FcPattern *ret;
|
FcPattern *ret;
|
||||||
|
|
||||||
FcPatternVapBuild (ret, orig, va);
|
FcPatternVapBuild (ret, p, va);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
FcPattern *
|
FcPattern *
|
||||||
FcPatternBuild (FcPattern *orig, ...)
|
FcPatternBuild (FcPattern *p, ...)
|
||||||
{
|
{
|
||||||
va_list va;
|
va_list va;
|
||||||
|
|
||||||
va_start (va, orig);
|
va_start (va, p);
|
||||||
FcPatternVapBuild (orig, orig, va);
|
FcPatternVapBuild (p, p, va);
|
||||||
va_end (va);
|
va_end (va);
|
||||||
return orig;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue