mirror of
https://github.com/openharmony/third_party_gettext.git
synced 2026-08-26 18:36:35 -04:00
332548d266
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.