update to ucx 3.1 release

Sat, 15 Feb 2025 22:56:16 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 15 Feb 2025 22:56:16 +0100
changeset 86
c41ab60fd27a
parent 85
4bf793d93ddf
child 87
a53fa82bbdcf

update to ucx 3.1 release

src/c2html.c file | annotate | diff | comparison | revisions
src/frontend.c file | annotate | diff | comparison | revisions
--- a/src/c2html.c	Thu Jul 11 20:15:56 2024 +0200
+++ b/src/c2html.c	Sat Feb 15 22:56:16 2025 +0100
@@ -116,6 +116,6 @@
     size_t n = c2html_format(lines, outbuf, wfnc, highlighter, showln);
 
     /* cleanup and return */
-    cxListDestroy(lines);
+    cxListFree(lines);
     return n;
 }
\ No newline at end of file
--- a/src/frontend.c	Thu Jul 11 20:15:56 2024 +0200
+++ b/src/frontend.c	Sat Feb 15 22:56:16 2025 +0100
@@ -150,7 +150,7 @@
             CxBuffer fbuf;
             cxBufferInit(&fbuf, NULL, 4096, NULL, CX_BUFFER_AUTO_EXTEND);
             cx_stream_copy(inputfile, &fbuf, (cx_read_func) fread,
-                           (cx_write_func) cxBufferWrite);
+                           cxBufferWriteFunc);
             cxBufferPut(&fbuf, 0);
             fclose(inputfile);
             c2html_textformat(

mercurial