diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-06-07 19:02:07 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-06-07 19:02:07 (GMT) |
commit | b2b00f3dedf496e4b22cdd8cdc14d9c8cb7cd7ac (patch) | |
tree | 8b9473b858ff37e50d2ac01ad5e3339c85b49238 /src/format/format.c | |
parent | 74063a8f0e00e1b53b45ddcbd47348d9acce3f67 (diff) |
Introduced the flat file format.
Diffstat (limited to 'src/format/format.c')
-rw-r--r-- | src/format/format.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/format/format.c b/src/format/format.c index e6cefc8..fa11663 100644 --- a/src/format/format.c +++ b/src/format/format.c @@ -321,8 +321,11 @@ const char *g_binary_format_get_description(const GBinFormat *format) bool g_binary_format_analyze(GBinFormat *format, wgroup_id_t gid, GtkStatusStack *status) { bool result; /* Bilan à retourner */ + GBinFormatClass *class; /* Classe de l'instance */ + + class = G_BIN_FORMAT_GET_CLASS(format); - result = G_BIN_FORMAT_GET_CLASS(format)->analyze(format, gid, status); + result = class->analyze(format, gid, status); return result; |