texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/main/build_perl_info.c (perl_only


From: Gavin D. Smith
Subject: branch master updated: * tp/Texinfo/XS/main/build_perl_info.c (perl_only_free, perl_only_malloc), * tp/Texinfo/XS/main/get_perl_info.c (get_sv_output_units) (init_copy_sv_options): Add missing dTHX.
Date: Sun, 08 Dec 2024 06:14:34 -0500

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

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 6a875c8b7b * tp/Texinfo/XS/main/build_perl_info.c (perl_only_free, 
perl_only_malloc), * tp/Texinfo/XS/main/get_perl_info.c (get_sv_output_units) 
(init_copy_sv_options): Add missing dTHX.
6a875c8b7b is described below

commit 6a875c8b7bf6272a9c93f755fd317005ee2da986
Author: Eli Zaretskii <eliz@gnu.org>
AuthorDate: Sun Dec 8 11:14:07 2024 +0000

    * tp/Texinfo/XS/main/build_perl_info.c
    (perl_only_free, perl_only_malloc),
    * tp/Texinfo/XS/main/get_perl_info.c (get_sv_output_units)
    (init_copy_sv_options): Add missing dTHX.
---
 ChangeLog                            | 7 +++++++
 tp/Texinfo/XS/main/build_perl_info.c | 2 ++
 tp/Texinfo/XS/main/get_perl_info.c   | 5 +++++
 3 files changed, 14 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 334b0501af..44366e5424 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-12-08  Eli Zaretskii <eliz@gnu.org>
+
+       * tp/Texinfo/XS/main/build_perl_info.c
+       (perl_only_free, perl_only_malloc),
+       * tp/Texinfo/XS/main/get_perl_info.c (get_sv_output_units)
+       (init_copy_sv_options): Add missing dTHX.
+
 2024-12-06  Gavin Smith <gavinsmith0123@gmail.com>
 
        * README-hacking: adjust instructions for updating translations
diff --git a/tp/Texinfo/XS/main/build_perl_info.c 
b/tp/Texinfo/XS/main/build_perl_info.c
index ef3371028b..91da10f7ed 100644
--- a/tp/Texinfo/XS/main/build_perl_info.c
+++ b/tp/Texinfo/XS/main/build_perl_info.c
@@ -125,6 +125,7 @@
 void
 perl_only_free (void *ptr)
 {
+  dTHX;
   free (ptr);
 }
 
@@ -132,6 +133,7 @@ perl_only_free (void *ptr)
 void *
 perl_only_malloc (size_t size)
 {
+  dTHX;
   return malloc (size);
 }
 
diff --git a/tp/Texinfo/XS/main/get_perl_info.c 
b/tp/Texinfo/XS/main/get_perl_info.c
index 7f6b876269..6c6be49a18 100644
--- a/tp/Texinfo/XS/main/get_perl_info.c
+++ b/tp/Texinfo/XS/main/get_perl_info.c
@@ -245,6 +245,8 @@ get_sv_output_units (const DOCUMENT *document,
   const DOCUMENT *document_found = 0;
   size_t output_units_descriptor = 0;
 
+  dTHX;
+
   if (document)
     {
       document_found = document;
@@ -543,6 +545,9 @@ init_copy_sv_options (SV *sv_in, CONVERTER *converter, int 
force,
 {
   OPTIONS *options = new_options ();
   OPTION **sorted_options = new_sorted_options (options);
+
+  dTHX;
+
   get_sv_options (sv_in, options, sorted_options, converter, force);
   if (sorted_options_out)
     *sorted_options_out = sorted_options;



reply via email to

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