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:24 -0400 (EDT)

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

    Move enum global_unit_direction
    
    * tp/Texinfo/XS/main/tree_types.h,
    * tp/Texinfo/XS/convert/html_converter_types.h
    (enum global_unit_direction): Move to html_converter_types.h.
    Include "html_conversion_data.h" in html_converter_types.h and
    not in tree_types.h.
---
 ChangeLog                                    | 10 ++++++++++
 tp/Texinfo/XS/convert/html_converter_types.h | 18 ++++++++++++++++++
 tp/Texinfo/XS/main/tree_types.h              | 17 -----------------
 3 files changed, 28 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 912477c897..ef5023cd4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-10-22  Gavin Smith <gavinsmith0123@gmail.com>
+
+       Move enum global_unit_direction
+
+       * tp/Texinfo/XS/main/tree_types.h,
+       * tp/Texinfo/XS/convert/html_converter_types.h
+       (enum global_unit_direction): Move to html_converter_types.h.
+       Include "html_conversion_data.h" in html_converter_types.h and
+       not in tree_types.h.
+
 2024-10-22  Gavin Smith <gavinsmith0123@gmail.com>
 
        Move enum html_text_type
diff --git a/tp/Texinfo/XS/convert/html_converter_types.h 
b/tp/Texinfo/XS/convert/html_converter_types.h
index 72ad155a89..f70e0781d6 100644
--- a/tp/Texinfo/XS/convert/html_converter_types.h
+++ b/tp/Texinfo/XS/convert/html_converter_types.h
@@ -99,4 +99,22 @@ extern COMMAND_ID_LIST style_formatted_cmd;
 extern COMMAND_ID_LIST accent_cmd;
 extern COMMAND_ID_LIST format_raw_cmd;
 
+/* see Texinfo::HTML _prepare_output_units_global_targets
+
+   NOTE the special output units direction names
+   are obtained dynamically from the perl input and stored in
+   special_unit_info and put later on in
+   special_units_direction_name
+ */
+
+#include "html_conversion_data.h"
+
+enum global_unit_direction {
+  #define hgdt_name(name) D_ ## name,
+   HTML_GLOBAL_DIRECTIONS_LIST
+  #undef hgdt_name
+   D_Space,
+};
+
+
 #endif
diff --git a/tp/Texinfo/XS/main/tree_types.h b/tp/Texinfo/XS/main/tree_types.h
index 466f3fc714..9f05ebb241 100644
--- a/tp/Texinfo/XS/main/tree_types.h
+++ b/tp/Texinfo/XS/main/tree_types.h
@@ -19,7 +19,6 @@
 #include <stddef.h>
 #include <stdint.h>
 
-#include "html_conversion_data.h"
 #include "command_ids.h"
 #include "element_types.h"
 #include "text.h"
@@ -152,22 +151,6 @@ enum ai_key_name {
   #undef ai_key
 };
 
-
-/* see Texinfo::HTML _prepare_output_units_global_targets
-
-   NOTE the special output units direction names
-   are obtained dynamically from the perl input and stored in
-   special_unit_info and put later on in
-   special_units_direction_name
- */
-
-enum global_unit_direction {
-  #define hgdt_name(name) D_ ## name,
-   HTML_GLOBAL_DIRECTIONS_LIST
-  #undef hgdt_name
-   D_Space,
-};
-
 typedef struct ELEMENT_LIST {
     struct ELEMENT **list;
     size_t number;



reply via email to

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