[Fontconfig] fontconfig: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Sun Jul 6 14:42:52 PDT 2014


 src/fcmatch.c |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 5674b8a66354d657559c37e9d168bfbf48b931a8
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Sun Jul 6 17:41:19 2014 -0400

    Comments

diff --git a/src/fcmatch.c b/src/fcmatch.c
index 0c0a067..5e02431 100644
--- a/src/fcmatch.c
+++ b/src/fcmatch.c
@@ -256,6 +256,9 @@ FcCompareHash (FcValue *v1, FcValue *v2)
     return FcCompareString (v1, v2);
 }
 
+
+/* Define priorities to -1 for objects that don't have a compare function. */
+
 #define PRI_NULL(n)				\
     PRI_ ## n ## _STRONG = -1,			\
     PRI_ ## n ## _WEAK = -1,
@@ -280,6 +283,9 @@ typedef enum _FcMatcherPriorityDummy {
 
 #undef FC_OBJECT
 
+
+/* Canonical match priority order. */
+
 #undef PRI1
 #define PRI1(n)					\
     PRI_ ## n,					\


More information about the Fontconfig mailing list