]> Savannah Git Hosting - gnulib.git/commitdiff
libtextstyle-optional: Sync with current not-yet-released libtextstyle.
authorBruno Haible <bruno@clisp.org>
Tue, 15 Oct 2019 08:48:25 +0000 (10:48 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 15 Oct 2019 08:51:54 +0000 (10:51 +0200)
* 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.

ChangeLog
lib/textstyle.in.h

index db63a4be070b06290fbc4c80887f9398a3218075..2c63d42b6f1d43c98f201aa4d1d00919719ea5b8 100644 (file)
--- 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
index 3eb71938f0d9599b4ab0db53a89438161a7076ec..fedc7d82a808e961f4754818b7df24a51cf1805f 100644 (file)
@@ -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