texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/convert/converter.c (set_converte


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/convert/converter.c (set_converter_init_information): remove enum converter_format argument. Update callers.
Date: Sat, 05 Oct 2024 05:21:10 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 21783a010b * tp/Texinfo/XS/convert/converter.c 
(set_converter_init_information): remove enum converter_format argument.  
Update callers.
21783a010b is described below

commit 21783a010b1cfdbc56798ef51d75ff104bcd1093
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Aug 24 23:11:56 2024 +0200

    * tp/Texinfo/XS/convert/converter.c (set_converter_init_information):
    remove enum converter_format argument.  Update callers.
---
 ChangeLog                          | 5 +++++
 tp/Texinfo/XS/convert/ConvertXS.xs | 3 +--
 tp/Texinfo/XS/convert/converter.c  | 4 +---
 tp/Texinfo/XS/convert/converter.h  | 1 -
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c0bc82eda0..5a8791f9dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-24  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/convert/converter.c (set_converter_init_information):
+       remove enum converter_format argument.  Update callers.
+
 2024-08-24  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/Info.pm (format_warn_strong_note),
diff --git a/tp/Texinfo/XS/convert/ConvertXS.xs 
b/tp/Texinfo/XS/convert/ConvertXS.xs
index d310b17fac..fe406e6e9e 100644
--- a/tp/Texinfo/XS/convert/ConvertXS.xs
+++ b/tp/Texinfo/XS/convert/ConvertXS.xs
@@ -205,8 +205,7 @@ generic_converter_init (SV *converter_in, SV 
*format_defaults_sv, SV *conf_sv=0)
         conf = get_converter_info_from_sv (conf_sv, class_name, self,
                                            self->sorted_options);
 
-        set_converter_init_information (self, self->format,
-                                        format_defaults, conf);
+        set_converter_init_information (self, format_defaults, conf);
 
         if (format_defaults)
           {
diff --git a/tp/Texinfo/XS/convert/converter.c 
b/tp/Texinfo/XS/convert/converter.c
index 302cb2b8c6..a1b3a5cc93 100644
--- a/tp/Texinfo/XS/convert/converter.c
+++ b/tp/Texinfo/XS/convert/converter.c
@@ -348,7 +348,6 @@ apply_converter_info (CONVERTER *converter,
  */
 void
 set_converter_init_information (CONVERTER *converter,
-                            enum converter_format converter_format,
                             CONVERTER_INITIALIZATION_INFO *format_defaults,
                             CONVERTER_INITIALIZATION_INFO *user_conf)
 {
@@ -501,8 +500,7 @@ converter_converter (enum converter_format format,
 
   number_options_list (&format_defaults->conf, converter->sorted_options);
 
-  set_converter_init_information (converter, format, format_defaults,
-                                  user_conf);
+  set_converter_init_information (converter, format_defaults, user_conf);
 
   destroy_converter_initialization_info (format_defaults);
 
diff --git a/tp/Texinfo/XS/convert/converter.h 
b/tp/Texinfo/XS/convert/converter.h
index 537a05efd0..6306b86f58 100644
--- a/tp/Texinfo/XS/convert/converter.h
+++ b/tp/Texinfo/XS/convert/converter.h
@@ -131,7 +131,6 @@ CONVERTER *retrieve_converter (size_t converter_descriptor);
 size_t new_converter (enum converter_format format, unsigned long flags);
 
 void set_converter_init_information (CONVERTER *converter,
-                            enum converter_format converter_format,
                             CONVERTER_INITIALIZATION_INFO *format_defaults,
                             CONVERTER_INITIALIZATION_INFO *user_conf);
 



reply via email to

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