Sun, 11 Aug 2024 15:43:01 +0200
update to recent snapshot of UCX 3.1
src/font.c | file | annotate | diff | comparison | revisions |
--- a/src/font.c Fri Apr 19 22:28:29 2024 +0200 +++ b/src/font.c Sun Aug 11 15:43:01 2024 +0200 @@ -68,7 +68,7 @@ asc_font_cache = cxArrayListCreateSimple( sizeof(struct asc_font_cache_entry), 16 ); - asc_font_cache->simple_destructor = (cx_destructor_func) asc_font_unload; + cxDefineDestructor(asc_font_cache, asc_font_unload); } void asc_font_cache_destroy(void) {