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/get_html_perl_info.c, tp


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/convert/get_html_perl_info.c, tp/Texinfo/XS/main/get_perl_info.c (html_get_button_specification_list), tp/maintain/regenerate_C_options_info.pl: move html_get_button_specification_list to get_html_perl_info.c, as it is needed by options_get_perl.c in libtexinfoxs.
Date: Wed, 22 Nov 2023 16:48:04 -0500

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 f81836b29c * tp/Texinfo/XS/convert/get_html_perl_info.c, 
tp/Texinfo/XS/main/get_perl_info.c (html_get_button_specification_list), 
tp/maintain/regenerate_C_options_info.pl: move 
html_get_button_specification_list to get_html_perl_info.c, as it is needed by 
options_get_perl.c in libtexinfoxs.
f81836b29c is described below

commit f81836b29c510d7065d58af18d9a0bec1c1794c4
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Nov 22 22:47:54 2023 +0100

    * tp/Texinfo/XS/convert/get_html_perl_info.c,
    tp/Texinfo/XS/main/get_perl_info.c
    (html_get_button_specification_list),
    tp/maintain/regenerate_C_options_info.pl: move
    html_get_button_specification_list to get_html_perl_info.c, as it is
    needed by options_get_perl.c in libtexinfoxs.
---
 ChangeLog                                  |  9 +++++++++
 tp/Texinfo/XS/convert/get_html_perl_info.c | 17 -----------------
 tp/Texinfo/XS/main/get_perl_info.c         | 18 ++++++++++++++++++
 tp/maintain/regenerate_C_options_info.pl   |  3 +--
 4 files changed, 28 insertions(+), 19 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b4198cd401..d165700506 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2023-11-22  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/convert/get_html_perl_info.c,
+       tp/Texinfo/XS/main/get_perl_info.c
+       (html_get_button_specification_list),
+       tp/maintain/regenerate_C_options_info.pl: move
+       html_get_button_specification_list to get_html_perl_info.c, as it is
+       needed by options_get_perl.c in libtexinfoxs.
+
 2023-11-22  Gavin Smith <gavinsmith0123@gmail.com>
 
        * INSTALL: elaborate on PERL_EXT_* variables for building
diff --git a/tp/Texinfo/XS/convert/get_html_perl_info.c 
b/tp/Texinfo/XS/convert/get_html_perl_info.c
index 11ed594d98..61e41e4411 100644
--- a/tp/Texinfo/XS/convert/get_html_perl_info.c
+++ b/tp/Texinfo/XS/convert/get_html_perl_info.c
@@ -825,20 +825,3 @@ html_converter_prepare_output_sv (SV *converter_sv, 
CONVERTER *converter)
 
 #undef FETCH
 
-BUTTON_SPECIFICATION_LIST *
-html_get_button_specification_list (SV *buttons_sv)
-{
-  BUTTON_SPECIFICATION_LIST *result;
-
-  dTHX;
-
-  result = (BUTTON_SPECIFICATION_LIST *)
-            malloc (sizeof (BUTTON_SPECIFICATION_LIST));
-
-  result->av = (AV *)SvRV (buttons_sv);
-
-  /* TODO do C structures to be able to call C functions */
-
-  return result;
-}
-
diff --git a/tp/Texinfo/XS/main/get_perl_info.c 
b/tp/Texinfo/XS/main/get_perl_info.c
index e1d799fa53..fe58c6f056 100644
--- a/tp/Texinfo/XS/main/get_perl_info.c
+++ b/tp/Texinfo/XS/main/get_perl_info.c
@@ -728,3 +728,21 @@ copy_sv_options_for_convert_text (SV *sv_in)
   return text_options;
 }
 
+/* HTML specific, but needs to be there for options_get_perl.c */
+BUTTON_SPECIFICATION_LIST *
+html_get_button_specification_list (SV *buttons_sv)
+{
+  BUTTON_SPECIFICATION_LIST *result;
+
+  dTHX;
+
+  result = (BUTTON_SPECIFICATION_LIST *)
+            malloc (sizeof (BUTTON_SPECIFICATION_LIST));
+
+  result->av = (AV *)SvRV (buttons_sv);
+
+  /* TODO do C structures to be able to call C functions */
+
+  return result;
+}
+
diff --git a/tp/maintain/regenerate_C_options_info.pl 
b/tp/maintain/regenerate_C_options_info.pl
index 753a5ed4ab..4e081e9ae7 100755
--- a/tp/maintain/regenerate_C_options_info.pl
+++ b/tp/maintain/regenerate_C_options_info.pl
@@ -272,8 +272,7 @@ print GET '
 print GET '#include <string.h>'."\n\n";
 
 print GET '#include "options_types.h"'."\n";
-print GET '#include "get_perl_info.h"'."\n";
-print GET '#include "get_html_perl_info.h"'."\n\n";
+print GET '#include "get_perl_info.h"'."\n\n";
 
 print GET 'void
 get_sv_option (OPTIONS *options, const char *key, SV *value)



reply via email to

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