From 5674b8a66354d657559c37e9d168bfbf48b931a8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 6 Jul 2014 17:41:19 -0400 Subject: [PATCH] Comments --- src/fcmatch.c | 6 ++++++ 1 file changed, 6 insertions(+) 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, \