texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Gavin D. Smith
Date: Tue, 22 Oct 2024 13:42:23 -0400 (EDT)

branch: master
commit a98f7f848824af75f2024a57d8a616f78d59d24e
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Oct 22 18:12:23 2024 +0100

    Move enum html_text_type
    
    * tp/Texinfo/XS/main/tree_types.h,
    * tp/Texinfo/XS/main/option_types.h (enum html_text_type):
    Move to option_types.h.
---
 ChangeLog                         |  8 ++++++++
 tp/Texinfo/XS/main/option_types.h | 11 +++++++++++
 tp/Texinfo/XS/main/tree_types.h   | 12 ------------
 3 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e696320b22..912477c897 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-10-22  Gavin Smith <gavinsmith0123@gmail.com>
+
+       Move enum html_text_type
+
+       * tp/Texinfo/XS/main/tree_types.h,
+       * tp/Texinfo/XS/main/option_types.h (enum html_text_type):
+       Move to option_types.h.
+
 2024-10-22  Gavin Smith <gavinsmith0123@gmail.com>
 
        Move enum relative_unit_direction_type definition
diff --git a/tp/Texinfo/XS/main/option_types.h 
b/tp/Texinfo/XS/main/option_types.h
index a2f7c547c3..f0b29787da 100644
--- a/tp/Texinfo/XS/main/option_types.h
+++ b/tp/Texinfo/XS/main/option_types.h
@@ -60,6 +60,17 @@ enum direction_unit_direction {
 
 #define NON_SPECIAL_DIRECTIONS_NR (FIRSTINFILE_MAX_IDX +1)
 
+enum html_text_type {
+   HTT_text,
+   HTT_text_nonumber,
+   HTT_string,
+   HTT_string_nonumber, /* not sure that it is set/used */
+   /* not only used for element text, also for direction text */
+   HTT_href,
+   HTT_node,
+   HTT_section,
+};
+
 enum button_specification_type {
    BST_direction,
    BST_function,
diff --git a/tp/Texinfo/XS/main/tree_types.h b/tp/Texinfo/XS/main/tree_types.h
index fae0455e45..466f3fc714 100644
--- a/tp/Texinfo/XS/main/tree_types.h
+++ b/tp/Texinfo/XS/main/tree_types.h
@@ -72,18 +72,6 @@ enum directions {
    D_up,
 };
 
-/* here because it is used both in option_types.h and ConvertXS.xs */
-enum html_text_type {
-   HTT_text,
-   HTT_text_nonumber,
-   HTT_string,
-   HTT_string_nonumber, /* not sure that it is set/used */
-   /* not only used for element text, also for direction text */
-   HTT_href,
-   HTT_node,
-   HTT_section,
-};
-
 #define AI_KEYS_LIST \
   ai_key(cell_number) \
   ai_key(item_number) \



reply via email to

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