diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-08-13 19:19:40 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-08-13 19:19:40 (GMT) |
commit | f0ef296d23bcefffcfc292c5d8e6143d700f46fc (patch) | |
tree | cb40f1ce46810ed4e8e45c21481f415f2917ebc8 /src/format | |
parent | e554e315b762d564b4e370fa77a26ef6a4a67ccc (diff) |
Listed all errors occurred while loading a binary file.
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/format.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/format/format.h b/src/format/format.h index 3c1bbea..09ac07a 100644 --- a/src/format/format.h +++ b/src/format/format.h @@ -119,8 +119,8 @@ typedef enum _BinaryFormatError /* Protège ou lève la protection de l'accès aux erreurs. */ void g_binary_format_lock_unlock_errors(GBinFormat *, bool); -#define g_binary_format_lock_errors(p) g_binary_format_lock_unlock_errors(p, true) -#define g_binary_format_unlock_errors(p) g_binary_format_lock_unlock_errors(p, false) +#define g_binary_format_lock_errors(f) g_binary_format_lock_unlock_errors(f, true) +#define g_binary_format_unlock_errors(f) g_binary_format_lock_unlock_errors(f, false) /* Etend la liste des soucis détectés avec de nouvelles infos. */ void g_binary_format_add_error(GBinFormat *, BinaryFormatError, const vmpa2t *, const char *); |