[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/parsetexi/Parsetexi.xs (init): us
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/parsetexi/Parsetexi.xs (init): use macro corresponding to bytes to get file paths in the C parser. The file path comes from Texinfo::ModulePath through Texinfo::XSLoader and is a byte string. |
Date: |
Fri, 28 Jul 2023 06:11:42 -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 bcfda1d621 * tp/Texinfo/XS/parsetexi/Parsetexi.xs (init): use macro
corresponding to bytes to get file paths in the C parser. The file path comes
from Texinfo::ModulePath through Texinfo::XSLoader and is a byte string.
bcfda1d621 is described below
commit bcfda1d6216d7d50db12dd4166d67fbfc8e7bbc3
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Jul 28 12:11:33 2023 +0200
* tp/Texinfo/XS/parsetexi/Parsetexi.xs (init): use macro corresponding
to bytes to get file paths in the C parser. The file path comes from
Texinfo::ModulePath through Texinfo::XSLoader and is a byte string.
---
ChangeLog | 6 ++++++
tp/Texinfo/XS/parsetexi/Parsetexi.xs | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d0d39a363c..f65aae98d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-07-28 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/parsetexi/Parsetexi.xs (init): use macro corresponding
+ to bytes to get file paths in the C parser. The file path comes from
+ Texinfo::ModulePath through Texinfo::XSLoader and is a byte string.
+
2023-07-28 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/parsetexi/Parsetexi.xs: use # comments, not C
diff --git a/tp/Texinfo/XS/parsetexi/Parsetexi.xs
b/tp/Texinfo/XS/parsetexi/Parsetexi.xs
index 538f546a03..86c9aa78ae 100644
--- a/tp/Texinfo/XS/parsetexi/Parsetexi.xs
+++ b/tp/Texinfo/XS/parsetexi/Parsetexi.xs
@@ -47,12 +47,12 @@ PROTOTYPES: ENABLE
# encodings, they are never decoded/encoded but used as is
# and passed as byte strings.
-# Called from Texinfo::XSLoader.pm. The arguments are not actually used
+# Called from Texinfo::XSLoader.pm. The arguments are not actually used.
# file path, can be in any encoding
int
init (texinfo_uninstalled, srcdir)
int texinfo_uninstalled
- char *srcdir
+ char *srcdir = (char *)SvPVbyte_nolen($arg);
void
wipe_errors ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/parsetexi/Parsetexi.xs (init): use macro corresponding to bytes to get file paths in the C parser. The file path comes from Texinfo::ModulePath through Texinfo::XSLoader and is a byte string.,
Patrice Dumas <=