diff options
author | Bruno Haible <bruno@clisp.org> | 2019-10-15 10:48:25 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-10-15 10:51:54 +0200 |
commit | 23751c28159f1d3e20c2fc8dc8bf8651e570c5c1 (patch) | |
tree | 74ccc3ec7534eff81b858ac407e0825cc29b45e0 /lib | |
parent | 1ce2386b601b84285c423f1f9545bc2ed6dd420e (diff) | |
download | gnulib-23751c28159f1d3e20c2fc8dc8bf8651e570c5c1.tar.gz |
libtextstyle-optional: Sync with current not-yet-released libtextstyle.
* libtextstyle-optional (styled_ostream_get_hyperlink_ref,
styled_ostream_get_hyperlink_id, styled_ostream_set_hyperlink,
term_ostream_get_hyperlink_ref, term_ostream_get_hyperlink_id,
term_ostream_set_hyperlink): New functions.
(term_styled_ostream_get_hyperlink_ref,
term_styled_ostream_get_hyperlink_id,
term_styled_ostream_set_hyperlink): New function aliases.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/textstyle.in.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/lib/textstyle.in.h b/lib/textstyle.in.h index 3eb71938f0..fedc7d82a8 100644 --- a/lib/textstyle.in.h +++ b/lib/textstyle.in.h @@ -132,6 +132,25 @@ styled_ostream_end_use_class (styled_ostream_t stream _GL_UNUSED, { } +static inline const char * +styled_ostream_get_hyperlink_ref (styled_ostream_t stream _GL_UNUSED) +{ + return NULL; +} + +static inline const char * +styled_ostream_get_hyperlink_id (styled_ostream_t stream _GL_UNUSED) +{ + return NULL; +} + +static inline void +styled_ostream_set_hyperlink (styled_ostream_t stream _GL_UNUSED, + const char *ref _GL_UNUSED, + const char *id _GL_UNUSED) +{ +} + static inline void styled_ostream_flush_to_current_style (styled_ostream_t stream _GL_UNUSED) { @@ -266,6 +285,25 @@ term_ostream_set_underline (term_ostream_t stream _GL_UNUSED, { } +static inline const char * +term_ostream_get_hyperlink_ref (term_ostream_t stream _GL_UNUSED) +{ + return NULL; +} + +static inline const char * +term_ostream_get_hyperlink_id (term_ostream_t stream _GL_UNUSED) +{ + return NULL; +} + +static inline void +term_ostream_set_hyperlink (term_ostream_t stream _GL_UNUSED, + const char *ref _GL_UNUSED, + const char *id _GL_UNUSED) +{ +} + static inline void term_ostream_flush_to_current_style (term_ostream_t stream) { @@ -304,6 +342,9 @@ typedef styled_ostream_t term_styled_ostream_t; #define term_styled_ostream_free ostream_free #define term_styled_ostream_begin_use_class styled_ostream_begin_use_class #define term_styled_ostream_end_use_class styled_ostream_end_use_class +#define term_styled_ostream_get_hyperlink_ref styled_ostream_get_hyperlink_ref +#define term_styled_ostream_get_hyperlink_id styled_ostream_get_hyperlink_id +#define term_styled_ostream_set_hyperlink styled_ostream_set_hyperlink #define term_styled_ostream_flush_to_current_style styled_ostream_flush_to_current_style static inline term_styled_ostream_t |