summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-05-21 20:43:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-05-21 20:43:30 (GMT)
commitd8eb070be32504949ad55fd644d9f1a69df1e05d (patch)
tree321a2591b67b3131baa514fdfe47ae492f665263 /src
parent7e5b1add6fdeb74b2356acf8ccf7009f45cfa85e (diff)
Written a proper documentation for the binary format Python bindings.
Diffstat (limited to 'src')
-rw-r--r--src/format/format.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/format/format.c b/src/format/format.c
index 0cebc98..045bc92 100644
--- a/src/format/format.c
+++ b/src/format/format.c
@@ -360,7 +360,11 @@ FormatFlag g_binary_format_get_flags(const GBinFormat *format)
SourceEndian g_binary_format_get_endianness(const GBinFormat *format)
{
- return G_BIN_FORMAT_GET_CLASS(format)->get_endian(format);
+ SourceEndian result; /* Boutisme à retourner */
+
+ result = G_BIN_FORMAT_GET_CLASS(format)->get_endian(format);
+
+ return result;
}