texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Patrice Dumas
Date: Sat, 19 Oct 2024 10:05:39 -0400 (EDT)

branch: master
commit af3f7ffdf62d2a47d00f1fdfc901e789bc0cb5a2
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Oct 19 15:35:56 2024 +0200

    * tp/Texinfo/XS/convert/texinfo.c (txi_document_remove)
    (txi_converter_reset, txi_converter_destroy): rename
    txi_remove_document as txi_document_remove, txi_reset_converter as
    txi_converter_reset and txi_destroy_converter as
    txi_converter_destroy, for consistency.  Update caller.
---
 ChangeLog                       | 8 ++++++++
 tp/Texinfo/XS/convert/texinfo.c | 6 +++---
 tp/Texinfo/XS/convert/texinfo.h | 6 +++---
 tp/Texinfo/XS/teximakehtml.c    | 8 ++++----
 4 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 622be38c67..daeb74e723 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-10-19  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/convert/texinfo.c (txi_document_remove)
+       (txi_converter_reset, txi_converter_destroy): rename
+       txi_remove_document as txi_document_remove, txi_reset_converter as
+       txi_converter_reset and txi_destroy_converter as
+       txi_converter_destroy, for consistency.  Update caller.
+
 2024-10-19  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/convert/converter.c (converter_format_data)
diff --git a/tp/Texinfo/XS/convert/texinfo.c b/tp/Texinfo/XS/convert/texinfo.c
index 1af366a44d..3b244425bf 100644
--- a/tp/Texinfo/XS/convert/texinfo.c
+++ b/tp/Texinfo/XS/convert/texinfo.c
@@ -390,19 +390,19 @@ txi_converter_convert (CONVERTER *converter, DOCUMENT 
*document)
 }
 
 void
-txi_remove_document (DOCUMENT *document)
+txi_document_remove (DOCUMENT *document)
 {
   remove_document_descriptor (document->descriptor);
 }
 
 void
-txi_reset_converter (CONVERTER *converter)
+txi_converter_reset (CONVERTER *converter)
 {
   reset_converter (converter);
 }
 
 void
-txi_destroy_converter (CONVERTER *converter)
+txi_converter_destroy (CONVERTER *converter)
 {
   destroy_converter (converter);
 }
diff --git a/tp/Texinfo/XS/convert/texinfo.h b/tp/Texinfo/XS/convert/texinfo.h
index a92767a0ae..7bb0049ac3 100644
--- a/tp/Texinfo/XS/convert/texinfo.h
+++ b/tp/Texinfo/XS/convert/texinfo.h
@@ -60,9 +60,9 @@ size_t txi_handle_converter_error_messages (CONVERTER 
*converter, int no_warn,
                                           int use_filename,
                                           const char *message_encoding);
 
-void txi_remove_document (DOCUMENT *document);
+void txi_document_remove (DOCUMENT *document);
 
-void txi_reset_converter (CONVERTER *converter);
-void txi_destroy_converter (CONVERTER *converter);
+void txi_converter_reset (CONVERTER *converter);
+void txi_converter_destroy (CONVERTER *converter);
 
 #endif
diff --git a/tp/Texinfo/XS/teximakehtml.c b/tp/Texinfo/XS/teximakehtml.c
index 3db3273ec4..cd00fcdac0 100644
--- a/tp/Texinfo/XS/teximakehtml.c
+++ b/tp/Texinfo/XS/teximakehtml.c
@@ -228,7 +228,7 @@ main (int argc, char *argv[])
   if (status)
     {
       txi_handle_parser_error_messages (document, 0, 1, locale_encoding);
-      txi_remove_document (document);
+      txi_document_remove (document);
       exit (EXIT_FAILURE);
     }
 
@@ -331,13 +331,13 @@ main (int argc, char *argv[])
   errors_count += errors_nr;
 
   /* free after output */
-  txi_reset_converter (converter);
+  txi_converter_reset (converter);
 
 
   /* destroy converter */
-  txi_destroy_converter (converter);
+  txi_converter_destroy (converter);
   /* destroy document */
-  txi_remove_document (document);
+  txi_document_remove (document);
 
   if (errors_count > 0)
     exit (EXIT_FAILURE);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]