[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Wed, 2 Oct 2024 15:47:25 -0400 (EDT) |
branch: master
commit 34ce607799a6deced399c2836df2f9e434f2338a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Aug 3 21:02:24 2024 +0200
* tp/Texinfo/XS/main/get_perl_info.h: remove get_options_key_sv_option
and set_option_key_configured.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/main/get_perl_info.c | 11 +++++++++++
tp/Texinfo/XS/main/get_perl_info.h | 12 ------------
3 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 49ed3f7379..3836e8797f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-03 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/main/get_perl_info.h: remove get_options_key_sv_option
+ and set_option_key_configured.
+
2024-08-03 Patrice Dumas <pertusus@free.fr>
* tp/maintain/regenerate_C_options_info.pl: rename generated
diff --git a/tp/Texinfo/XS/main/get_perl_info.c
b/tp/Texinfo/XS/main/get_perl_info.c
index dae4c50b52..6c4abbfe64 100644
--- a/tp/Texinfo/XS/main/get_perl_info.c
+++ b/tp/Texinfo/XS/main/get_perl_info.c
@@ -379,6 +379,11 @@ get_line_message (CONVERTER *self, enum error_type type,
int continuation,
non_perl_free (source_info);
}
+/* return values:
+ 0: success
+ -1: already set (only if !force)
+ -3: type error
+ */
static int
get_sv_option (OPTION *option, SV *value, int force,
OPTIONS *options, const CONVERTER *converter)
@@ -468,6 +473,12 @@ get_sv_option (OPTION *option, SV *value, int force,
}
+/* return values:
+ 0: success
+ -1: already set (only if !force)
+ -2: unknown
+ -3: type error
+ */
int get_sorted_options_key_sv_option (OPTIONS *options, OPTION
**sorted_options,
const char *key, SV *value,
int force, const CONVERTER *converter)
diff --git a/tp/Texinfo/XS/main/get_perl_info.h
b/tp/Texinfo/XS/main/get_perl_info.h
index 231df0a5a6..b091800128 100644
--- a/tp/Texinfo/XS/main/get_perl_info.h
+++ b/tp/Texinfo/XS/main/get_perl_info.h
@@ -13,20 +13,8 @@
#include "convert_to_text.h"
/* in options_get_perl.c */
-/* return values:
- 0: success
- -1: already set (only if !force)
- -2: unknown
- -3: type error
- */
-int get_options_key_sv_option (OPTIONS *options, const char *key, SV *value,
- int force, const CONVERTER *converter);
void html_fill_options (OPTIONS *options, const CONVERTER *converter);
-/* in options_init_free.c */
-void set_option_key_configured (OPTIONS *options, const char *key,
- int configured);
-
void get_sv_options (SV *sv, OPTIONS *options, OPTION **sorted_options,
CONVERTER *converter, int force);
void set_translated_commands (CONVERTER *converter, HV *hv_in);