diff --git a/common/attrstr.h b/common/attrstr.h index 297add10..f835a8a4 100644 --- a/common/attrstr.h +++ b/common/attrstr.h @@ -2,3 +2,6 @@ // attribute.c extern int uiprivAttributeEqual(const uiAttribute *a, const uiAttribute *b); + +// opentype.c +extern int uiprivOpenTypeFeaturesEqual(const uiOpenTypeFeatures *a, const uiOpenTypeFeatures *b); diff --git a/common/opentype.c b/common/opentype.c index 7ed1062c..335a2ad0 100644 --- a/common/opentype.c +++ b/common/opentype.c @@ -88,7 +88,7 @@ void uiOpenTypeFeaturesAdd(uiOpenTypeFeatures *otf, char a, char b, char c, char f->c = c; f->d = d; f->value = value; - // TODO qsort here is overkill + // LONGTERM qsort here is overkill otf->len++; qsort(otf->data, otf->len, sizeof (struct feature), featurecmp); }