summaryrefslogtreecommitdiff
path: root/src/yaml_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/yaml_private.h')
-rw-r--r--src/yaml_private.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/yaml_private.h b/src/yaml_private.h
index b1eea24..f72cbd4 100644
--- a/src/yaml_private.h
+++ b/src/yaml_private.h
@@ -1228,6 +1228,17 @@ typedef enum yaml_emitter_state_e {
} yaml_emitter_state_t;
/*
+ * The information of a node being emitted.
+ */
+
+struct typedef yaml_node_data_s {
+ /* The node id. */
+ int id;
+ /* The collection iterator. */
+ int index;
+} yaml_node_data_t;
+
+/*
* The structure that holds data used by the file and string readers.
*/
@@ -1240,7 +1251,7 @@ typedef struct yaml_standard_writer_data_t {
} yaml_standard_writer_data_t;
/*
- * The internals emitter structure.
+ * The internal emitter structure.
*/
struct yaml_emitter_s {