src/c2html.h

changeset 70
60cecca5e484
parent 66
1b12cf799fee
     1.1 --- a/src/c2html.h	Sun Jun 11 14:05:28 2023 +0200
     1.2 +++ b/src/c2html.h	Sun Jun 11 15:16:48 2023 +0200
     1.3 @@ -45,8 +45,7 @@
     1.4  /**
     1.5   * Writes the formatted source data to the output buffer.
     1.6   * 
     1.7 - * @param inputbuffer the source file data as string
     1.8 - * @param inputbuflen the length of the source file
     1.9 + * @param inputtext the source file data as zero-terminated string
    1.10   * @param outbuf the output buffer
    1.11   * @param wfnc a write function for the output buffer
    1.12   * @param hltr the highlighter function
    1.13 @@ -58,9 +57,9 @@
    1.14   * @see c2html_c_highlighter()
    1.15   * @see c2html_java_highlighter()
    1.16   */
    1.17 -size_t c2html_bformat(char const* inputbuffer, size_t inputbuflen,
    1.18 -                      void* outbuf, cx_write_func wfnc,
    1.19 -                      c2html_highlighter_func hltr, int showln);
    1.20 +size_t c2html_textformat(char const* inputtext,
    1.21 +                         void* outbuf, cx_write_func wfnc,
    1.22 +                         c2html_highlighter_func hltr, int showln);
    1.23  
    1.24  /**
    1.25   * Writes the formatted source data to the output buffer.

mercurial