summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-10-15 10:48:25 +0200
committerBruno Haible <bruno@clisp.org>2019-10-15 10:51:54 +0200
commit23751c28159f1d3e20c2fc8dc8bf8651e570c5c1 (patch)
tree74ccc3ec7534eff81b858ac407e0825cc29b45e0
parent1ce2386b601b84285c423f1f9545bc2ed6dd420e (diff)
downloadgnulib-23751c28159f1d3e20c2fc8dc8bf8651e570c5c1.tar.gz
gnulib-23751c28159f1d3e20c2fc8dc8bf8651e570c5c1.tar.bz2
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.
-rw-r--r--ChangeLog11
-rw-r--r--lib/textstyle.in.h41
2 files changed, 52 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index db63a4be07..2c63d42b6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2019-10-15 Bruno Haible <bruno@clisp.org>
+
+ 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.
+
2019-10-14 Paul Eggert <eggert@cs.ucla.edu>
update-copyright: use en dashes in .texi ranges
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

Return to:

Send suggestions and report system problems to the System administrator.