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/db/item.c | |
parent | 1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff) |
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'src/analysis/db/item.c')
-rw-r--r-- | src/analysis/db/item.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/analysis/db/item.c b/src/analysis/db/item.c index 16866ab..6ee59a7 100644 --- a/src/analysis/db/item.c +++ b/src/analysis/db/item.c @@ -49,10 +49,10 @@ static void g_db_item_dispose(GDbItem *); static void g_db_item_finalize(GDbItem *); /* Importe la définition d'une base d'éléments pour collection. */ -static bool _g_db_item_unpack(GDbItem *, packed_buffer *); +static bool _g_db_item_unpack(GDbItem *, packed_buffer_t *); /* Exporte la définition d'une base d'éléments pour collection. */ -static bool _g_db_item_pack(const GDbItem *, packed_buffer *); +static bool _g_db_item_pack(const GDbItem *, packed_buffer_t *); @@ -376,7 +376,7 @@ gint g_db_item_cmp(const GDbItem *a, const GDbItem *b) * * ******************************************************************************/ -static bool _g_db_item_unpack(GDbItem *item, packed_buffer *pbuf) +static bool _g_db_item_unpack(GDbItem *item, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ uint32_t flags; /* Propriétés de l'élément */ @@ -410,7 +410,7 @@ static bool _g_db_item_unpack(GDbItem *item, packed_buffer *pbuf) * * ******************************************************************************/ -bool g_db_item_unpack(GDbItem *item, packed_buffer *pbuf) +bool g_db_item_unpack(GDbItem *item, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ @@ -434,7 +434,7 @@ bool g_db_item_unpack(GDbItem *item, packed_buffer *pbuf) * * ******************************************************************************/ -static bool _g_db_item_pack(const GDbItem *item, packed_buffer *pbuf) +static bool _g_db_item_pack(const GDbItem *item, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ DbItemFlags flags; /* Propriétés de l'élément */ @@ -468,7 +468,7 @@ static bool _g_db_item_pack(const GDbItem *item, packed_buffer *pbuf) * * ******************************************************************************/ -bool g_db_item_pack(const GDbItem *item, packed_buffer *pbuf) +bool g_db_item_pack(const GDbItem *item, packed_buffer_t *pbuf) { return G_DB_ITEM_GET_CLASS(item)->pack(item, pbuf); |