[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/convert/call_html_perl_function.c
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/convert/call_html_perl_function.c: replace G_ARRAY by G_LIST and use ppport.h which should provide compatibility. ppport.h do not proposes to include ppport.h, but it is likely that it is needed. |
Date: |
Fri, 23 Feb 2024 17:25:56 -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 002a8938ac * tp/Texinfo/XS/convert/call_html_perl_function.c: replace
G_ARRAY by G_LIST and use ppport.h which should provide compatibility.
ppport.h do not proposes to include ppport.h, but it is likely that it is
needed.
002a8938ac is described below
commit 002a8938acc043072b72310f4cbe155054f76893
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Feb 23 23:25:53 2024 +0100
* tp/Texinfo/XS/convert/call_html_perl_function.c: replace G_ARRAY by
G_LIST and use ppport.h which should provide compatibility. ppport.h
do not proposes to include ppport.h, but it is likely that it is
needed.
* README-hacking: only propose to check the changes proposed by
ppport.h, as it may be wrong.
---
ChangeLog | 10 ++++++++++
README-hacking | 2 +-
tp/Texinfo/XS/convert/call_html_perl_function.c | 22 ++++++++++++----------
3 files changed, 23 insertions(+), 11 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 52d75b10fa..0d3a980eec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-02-23 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/convert/call_html_perl_function.c: replace G_ARRAY by
+ G_LIST and use ppport.h which should provide compatibility. ppport.h
+ do not proposes to include ppport.h, but it is likely that it is
+ needed.
+
+ * README-hacking: only propose to check the changes proposed by
+ ppport.h, as it may be wrong.
+
2024-02-23 Patrice Dumas <pertusus@free.fr>
Remove/add ppport.h includes based on perl ppport.h output
diff --git a/README-hacking b/README-hacking
index 0b040da60c..6bd715ff72 100644
--- a/README-hacking
+++ b/README-hacking
@@ -309,7 +309,7 @@ Use util/srclist-txi for checking files to be copied from
gnulib
Update ppport.h in tp/Texinfo/XS:
perl -MDevel::PPPort -e'Devel::PPPort::WriteFile'
-Check if changes should be made for ppport.h:
+Check what changes ppport.h reports:
perl ppport.h --compat-version=5.8.1 *.xs misc.c xspara.c miscxs.h xspara.h
*/*.xs main/get_perl_info.* main/build_perl_info.* main/api_to_perl.*
convert/call_html_perl_function.* convert/build_html_perl_state.*
convert/get_html_perl_info.*
make po-check # update po/POTFILES.in as needed
diff --git a/tp/Texinfo/XS/convert/call_html_perl_function.c
b/tp/Texinfo/XS/convert/call_html_perl_function.c
index 976287d3d8..771e5ef5c4 100644
--- a/tp/Texinfo/XS/convert/call_html_perl_function.c
+++ b/tp/Texinfo/XS/convert/call_html_perl_function.c
@@ -28,6 +28,8 @@
#endif
#include "XSUB.h"
+#include "ppport.h"
+
#undef context
#include "text.h"
@@ -100,7 +102,7 @@ call_file_id_setting_special_unit_target_file_name
(CONVERTER *self,
PUSHs(sv_2mortal (newSVpv_utf8 (default_filename, 0)));
PUTBACK;
- count = call_sv (*special_unit_target_file_name_sv, G_ARRAY);
+ count = call_sv (*special_unit_target_file_name_sv, G_LIST);
SPAGAIN;
@@ -184,7 +186,7 @@ call_file_id_setting_label_target_name (CONVERTER *self,
PUSHs(sv_2mortal (newSVpv (target, 0)));
PUTBACK;
- count = call_sv (*label_target_name_sv, G_ARRAY);
+ count = call_sv (*label_target_name_sv, G_LIST);
SPAGAIN;
@@ -254,7 +256,7 @@ call_file_id_setting_node_file_name (CONVERTER *self,
PUSHs(sv_2mortal (newSVpv_utf8 (node_filename, 0)));
PUTBACK;
- count = call_sv (*node_file_name_sv, G_ARRAY);
+ count = call_sv (*node_file_name_sv, G_LIST);
SPAGAIN;
@@ -341,7 +343,7 @@ call_file_id_setting_sectioning_command_target_name
(CONVERTER *self,
PUSHs(sv_2mortal (newSVpv_utf8 (filename, 0)));
PUTBACK;
- count = call_sv (*sectioning_command_target_name_sv, G_ARRAY);
+ count = call_sv (*sectioning_command_target_name_sv, G_LIST);
SPAGAIN;
@@ -422,7 +424,7 @@ call_file_id_setting_unit_file_name (CONVERTER *self,
PUSHs(sv_2mortal (newSVpv_utf8 (filepath, 0)));
PUTBACK;
- count = call_sv (*unit_file_name_sv, G_ARRAY);
+ count = call_sv (*unit_file_name_sv, G_LIST);
SPAGAIN;
@@ -505,7 +507,7 @@ call_file_id_setting_external_target_split_name (CONVERTER
*self,
PUSHs(sv_2mortal (newSVpv_utf8 (file_name, 0)));
PUTBACK;
- count = call_sv (*external_target_split_name_sv, G_ARRAY);
+ count = call_sv (*external_target_split_name_sv, G_LIST);
SPAGAIN;
@@ -599,7 +601,7 @@ call_file_id_setting_external_target_non_split_name
(CONVERTER *self,
PUSHs(sv_2mortal (newSVpv_utf8 (file, 0)));
PUTBACK;
- count = call_sv (*external_target_non_split_name_sv, G_ARRAY);
+ count = call_sv (*external_target_non_split_name_sv, G_LIST);
SPAGAIN;
@@ -1390,7 +1392,7 @@ call_formatting_function_format_button (CONVERTER *self,
PUTBACK;
count = call_sv (formatting_reference_sv,
- G_ARRAY);
+ G_LIST);
SPAGAIN;
@@ -2401,7 +2403,7 @@ call_button_simple_function (CONVERTER *self,
PUTBACK;
count = call_sv ((SV *) formatting_reference_sv,
- G_ARRAY);
+ G_LIST);
SPAGAIN;
@@ -2473,7 +2475,7 @@ call_button_direction_function (CONVERTER *self,
PUTBACK;
count = call_sv ((SV *) formatting_reference_sv,
- G_ARRAY);
+ G_LIST);
SPAGAIN;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/convert/call_html_perl_function.c: replace G_ARRAY by G_LIST and use ppport.h which should provide compatibility. ppport.h do not proposes to include ppport.h, but it is likely that it is needed.,
Patrice Dumas <=