diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-05-21 20:43:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-05-21 20:43:30 (GMT) |
commit | d8eb070be32504949ad55fd644d9f1a69df1e05d (patch) | |
tree | 321a2591b67b3131baa514fdfe47ae492f665263 /src/format | |
parent | 7e5b1add6fdeb74b2356acf8ccf7009f45cfa85e (diff) |
Written a proper documentation for the binary format Python bindings.
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/format.c | 6 |
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; } |