]> git.ipfire.org Git - thirdparty/gettext.git/commit
libtextstyle: Add ostream_printf, ostream_vprintf functions.
authorBruno Haible <bruno@clisp.org>
Mon, 28 Oct 2019 00:08:41 +0000 (01:08 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 28 Oct 2019 00:08:41 +0000 (01:08 +0100)
commit332548d266dca59fe80cfb6c1287489b09be4445
tree371a0658ee827e8afbaf846a971dc5aedd67936f
parentdea5a600b909342369a6fe07c67bfdb03bbabf23
libtextstyle: Add ostream_printf, ostream_vprintf functions.

Suggested by José Marchesi.

* libtextstyle/autogen.sh (GNULIB_MODULES): Add 'vasprintf-posix'.
* libtextstyle/gnulib-local/lib/ostream.oo.h: Include <stdarg.h>.
(ostream_printf, ostream_vprintf): New declarations.
* libtextstyle/gnulib-local/lib/ostream.oo.c: Include <stdio.h>.
(ostream_printf, ostream_vprintf): New functions.
* libtextstyle/gnulib-local/lib/styled-ostream.oo.h: Update comments.
* libtextstyle/gnulib-local/lib/term-ostream.oo.h: Likewise.
* libtextstyle/gnulib-local/lib/html-ostream.oo.h: Likewise.
* libtextstyle/lib/textstyle.h: Include <stdio.h>.
(ostream_printf, ostream_vprintf): New functions.
(styled_ostream_flush_to_current_style, term_ostream_flush_to_current_style,
html_ostream_flush_to_current_style): Update comments.
* libtextstyle/doc/libtextstyle.texi (The ostream class): Document
ostream_printf, ostream_vprintf.
(The styled_ostream class, The term_ostream class, The html_ostream class):
Update comments.
* libtextstyle/NEWS: Mention it.
* NEWS: Likewise.
NEWS
libtextstyle/NEWS
libtextstyle/autogen.sh
libtextstyle/doc/libtextstyle.texi
libtextstyle/gnulib-local/lib/html-ostream.oo.h
libtextstyle/gnulib-local/lib/ostream.oo.c
libtextstyle/gnulib-local/lib/ostream.oo.h
libtextstyle/gnulib-local/lib/styled-ostream.oo.h
libtextstyle/gnulib-local/lib/term-ostream.oo.h
libtextstyle/lib/textstyle.h