Sat, 15 Feb 2025 22:56:16 +0100
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(