src/c2html.h

changeset 70
60cecca5e484
parent 66
1b12cf799fee
child 78
719e3c6d4c9b
--- a/src/c2html.h	Sun Jun 11 14:05:28 2023 +0200
+++ b/src/c2html.h	Sun Jun 11 15:16:48 2023 +0200
@@ -45,8 +45,7 @@
 /**
  * Writes the formatted source data to the output buffer.
  * 
- * @param inputbuffer the source file data as string
- * @param inputbuflen the length of the source file
+ * @param inputtext the source file data as zero-terminated string
  * @param outbuf the output buffer
  * @param wfnc a write function for the output buffer
  * @param hltr the highlighter function
@@ -58,9 +57,9 @@
  * @see c2html_c_highlighter()
  * @see c2html_java_highlighter()
  */
-size_t c2html_bformat(char const* inputbuffer, size_t inputbuflen,
-                      void* outbuf, cx_write_func wfnc,
-                      c2html_highlighter_func hltr, int showln);
+size_t c2html_textformat(char const* inputtext,
+                         void* outbuf, cx_write_func wfnc,
+                         c2html_highlighter_func hltr, int showln);
 
 /**
  * Writes the formatted source data to the output buffer.

mercurial