Mark backend API in fonts.h header

This commit is contained in:
Kovid Goyal
2017-12-10 09:21:46 +05:30
parent ee27f23862
commit e332522a61
2 changed files with 6 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ font_descriptor_from_python(PyObject *src) {
return CTFontDescriptorCreateWithAttributes((CFDictionaryRef) attrs);
}
PyObject*
static PyObject*
coretext_all_fonts(PyObject UNUSED *_self) {
static CTFontCollectionRef collection = NULL;
if (collection == NULL) collection = CTFontCollectionCreateFromAvailableFonts(NULL);