diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-06-01 22:32:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-06-01 22:32:50 (GMT) |
commit | 9eab0a0903303d3c93872e7e4b6b1cb774b69b03 (patch) | |
tree | ae8594cae830118ca3a92ee60242490e58c14a9e /src/analysis/types/template.c | |
parent | 1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff) |
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'src/analysis/types/template.c')
-rw-r--r-- | src/analysis/types/template.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/types/template.c b/src/analysis/types/template.c index 98c1471..4a8292a 100644 --- a/src/analysis/types/template.c +++ b/src/analysis/types/template.c @@ -67,10 +67,10 @@ static void g_template_type_dispose(GTemplateType *); static void g_template_type_finalize(GTemplateType *); /* Charge un objet depuis une mémoire tampon. */ -static bool g_template_type_load(GTemplateType *, GObjectStorage *, packed_buffer *); +static bool g_template_type_load(GTemplateType *, GObjectStorage *, packed_buffer_t *); /* Sauvegarde un objet dans une mémoire tampon. */ -static bool g_template_type_store(const GTemplateType *, GObjectStorage *, packed_buffer *); +static bool g_template_type_store(const GTemplateType *, GObjectStorage *, packed_buffer_t *); /* Calcule une empreinte pour un type de données. */ static guint g_template_type_hash(const GTemplateType *); @@ -229,7 +229,7 @@ GDataType *g_template_type_new(void) * * ******************************************************************************/ -static bool g_template_type_load(GTemplateType *type, GObjectStorage *storage, packed_buffer *pbuf) +static bool g_template_type_load(GTemplateType *type, GObjectStorage *storage, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ uleb128_t value; /* Valeur ULEB128 à charger */ @@ -283,7 +283,7 @@ static bool g_template_type_load(GTemplateType *type, GObjectStorage *storage, p * * ******************************************************************************/ -static bool g_template_type_store(const GTemplateType *type, GObjectStorage *storage, packed_buffer *pbuf) +static bool g_template_type_store(const GTemplateType *type, GObjectStorage *storage, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ size_t len; /* Taille d'une chaîne */ |