update to recent snapshot of UCX 3.1

Sun, 11 Aug 2024 15:43:01 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 11 Aug 2024 15:43:01 +0200
changeset 67
0b96fe6d6b5e
parent 66
8297afa1c29c
child 68
823c03733e42

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) {

mercurial