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/create_buttons.c (new_dir


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/convert/create_buttons.c (new_directions_list_buttons_specifications): add const.
Date: Fri, 04 Oct 2024 03:12:38 -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 cba86e7c5d * tp/Texinfo/XS/convert/create_buttons.c 
(new_directions_list_buttons_specifications): add const.
cba86e7c5d is described below

commit cba86e7c5d835437b754472bdac32cb62f803194
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Oct 4 09:12:41 2024 +0200

    * tp/Texinfo/XS/convert/create_buttons.c
    (new_directions_list_buttons_specifications): add const.
---
 ChangeLog                              | 5 +++++
 tp/Texinfo/XS/convert/create_buttons.c | 4 +++-
 tp/Texinfo/XS/convert/create_buttons.h | 8 ++++----
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a5dc92a0d7..1df663fad6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-04  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/convert/create_buttons.c
+       (new_directions_list_buttons_specifications): add const.
+
 2024-09-13  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/convert/create_buttons.c
diff --git a/tp/Texinfo/XS/convert/create_buttons.c 
b/tp/Texinfo/XS/convert/create_buttons.c
index a1f65317cd..6aa8a607be 100644
--- a/tp/Texinfo/XS/convert/create_buttons.c
+++ b/tp/Texinfo/XS/convert/create_buttons.c
@@ -158,6 +158,7 @@ BUTTON_SPECIFICATION_LIST *
 new_base_links_buttons (const CONVERTER *self)
 {
   BUTTON_SPECIFICATION_LIST *result = new_button_specification_list (7);
+
   new_button_specification (&result->list[0], BST_direction,
                             0, D_direction_Top, 0, 0, 0, 0);
   new_button_specification (&result->list[1], BST_direction,
@@ -194,11 +195,12 @@ new_base_navigation_section_footer_buttons (const 
CONVERTER *self)
     default special units navigation panel buttons.
   */
 BUTTON_SPECIFICATION_LIST *
-new_directions_list_buttons_specifications (CONVERTER *self,
+new_directions_list_buttons_specifications (const CONVERTER *self,
                                             const int* directions)
 {
   int buttons_nr = 0;
   int i;
+
   BUTTON_SPECIFICATION_LIST *result;
 
   for (buttons_nr = 0; directions[buttons_nr] != -1; buttons_nr++) {};
diff --git a/tp/Texinfo/XS/convert/create_buttons.h 
b/tp/Texinfo/XS/convert/create_buttons.h
index ee713cedcc..81f488d641 100644
--- a/tp/Texinfo/XS/convert/create_buttons.h
+++ b/tp/Texinfo/XS/convert/create_buttons.h
@@ -25,10 +25,6 @@ void new_button_specification (BUTTON_SPECIFICATION *button,
                           enum html_text_type text_type);
 BUTTON_SPECIFICATION_LIST *new_button_specification_list (size_t buttons_nr);
 
-BUTTON_SPECIFICATION_LIST *new_directions_list_buttons_specifications
-                                           (CONVERTER *self,
-                                            const int* directions);
-
 BUTTON_SPECIFICATION_LIST *new_base_navigation_buttons (const CONVERTER *self,
                              enum button_function_type function_type,
                              int with_about);
@@ -38,4 +34,8 @@ BUTTON_SPECIFICATION_LIST *new_base_navigation_section_buttons
 BUTTON_SPECIFICATION_LIST *new_base_navigation_section_footer_buttons
                                                    (const CONVERTER *self);
 
+BUTTON_SPECIFICATION_LIST *new_directions_list_buttons_specifications
+                                           (const CONVERTER *self,
+                                            const int* directions);
+
 #endif



reply via email to

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