This commit is contained in:
Behdad Esfahbod 2014-07-06 17:41:19 -04:00
parent 5b22776999
commit 5674b8a663
1 changed files with 6 additions and 0 deletions

View File

@ -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, \