summaryrefslogtreecommitdiff
path: root/plugins/yaml/pair-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-05-07 09:10:31 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-05-07 09:10:31 (GMT)
commit9e4480706b28abc41618bd598c00a194beb14c4f (patch)
tree15fc4fc623407863f0ecdec5ca97a4cac63f8ad2 /plugins/yaml/pair-int.h
parent25bac01127581767639a5bd9024c41eb803388fa (diff)
Aggregate YAML values from sequences when requested and possible.
Diffstat (limited to 'plugins/yaml/pair-int.h')
-rw-r--r--plugins/yaml/pair-int.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/yaml/pair-int.h b/plugins/yaml/pair-int.h
index 735a357..88b968d 100644
--- a/plugins/yaml/pair-int.h
+++ b/plugins/yaml/pair-int.h
@@ -41,7 +41,10 @@ struct _GYamlPair
GYamlNode parent; /* A laisser en premier */
char *key; /* Clef présente dans le noeud */
+ YamlOriginalStyle key_style; /* Forme d'origine associé */
+
char *value; /* Valeur associée */
+ YamlOriginalStyle value_style; /* Forme d'origine associé */
GYamlCollection *children; /* Collection de noeuds */
@@ -56,7 +59,7 @@ struct _GYamlPairClass
/* Met en place une pair clef/valeur YAML. */
-bool g_yaml_pair_create(GYamlPair *, const char *, const char *);
+bool g_yaml_pair_create(GYamlPair *, const char *, YamlOriginalStyle, const char *, YamlOriginalStyle);