summaryrefslogtreecommitdiff
path: root/src/format/strsym.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-05-18 21:50:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-05-18 21:50:26 (GMT)
commit041056d04032d41a5c092c62cbfd67b199094991 (patch)
treea294afa55e307fe68617f80af3e9999ad7fa28b6 /src/format/strsym.h
parent4f18f051936f633473c365d4c91ef7e77fa7feee (diff)
Updated the Python API for string symbols.
Diffstat (limited to 'src/format/strsym.h')
-rw-r--r--src/format/strsym.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/format/strsym.h b/src/format/strsym.h
index 2400e59..6900251 100644
--- a/src/format/strsym.h
+++ b/src/format/strsym.h
@@ -69,10 +69,16 @@ typedef struct _GStrSymbolClass GStrSymbolClass;
GType g_string_symbol_get_type(void);
/* Crée un nouveau symbole pour chaîne de caractères. */
-GBinSymbol *g_string_symbol_new_read_only(GBinFormat *, const mrange_t *, StringEncodingType);
+GBinSymbol *g_string_symbol_new_read_only(StringEncodingType, GBinFormat *, const mrange_t *);
+
+/* Réalise la complète initialisation d'unsymbole pour chaîne. */
+void g_string_symbol_init_read_only(GStrSymbol *, StringEncodingType, GBinFormat *, const mrange_t *);
/* Crée un nouveau symbole pour chaîne de caractères. */
-GBinSymbol *g_string_symbol_new_dynamic(const char *, const vmpa2t *, StringEncodingType);
+GBinSymbol *g_string_symbol_new_dynamic(StringEncodingType, const char *, const vmpa2t *);
+
+/* Réalise la complète initialisation d'unsymbole pour chaîne. */
+void g_string_symbol_init_dynamic(GStrSymbol *, StringEncodingType, const char *, const vmpa2t *);
/* Définit si une chaîne de caractères est liée au format. */
void g_string_symbol_set_structural(GStrSymbol *, bool);