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/arch/operands/register.c | |
parent | 1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff) |
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'src/arch/operands/register.c')
-rw-r--r-- | src/arch/operands/register.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/operands/register.c b/src/arch/operands/register.c index 81608a3..9a6de17 100644 --- a/src/arch/operands/register.c +++ b/src/arch/operands/register.c @@ -56,10 +56,10 @@ static void g_register_operand_print(const GRegisterOperand *, GBufferLine *); /* Charge un opérande depuis une mémoire tampon. */ -static bool g_register_operand_unserialize(GRegisterOperand *, GAsmStorage *, GBinFormat *, packed_buffer *); +static bool g_register_operand_unserialize(GRegisterOperand *, GAsmStorage *, GBinFormat *, packed_buffer_t *); /* Sauvegarde un opérande dans une mémoire tampon. */ -static bool g_register_operand_serialize(const GRegisterOperand *, GAsmStorage *, packed_buffer *); +static bool g_register_operand_serialize(const GRegisterOperand *, GAsmStorage *, packed_buffer_t *); @@ -315,12 +315,12 @@ bool g_register_operand_is_written(const GRegisterOperand *operand) * * ******************************************************************************/ -static bool g_register_operand_unserialize(GRegisterOperand *operand, GAsmStorage *storage, GBinFormat *format, packed_buffer *pbuf) +static bool g_register_operand_unserialize(GRegisterOperand *operand, GAsmStorage *storage, GBinFormat *format, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ GArchOperandClass *parent; /* Classe parente à consulter */ off64_t pos; /* Position dans le flux */ - packed_buffer reg_pbuf; /* Tampon des données à écrire */ + packed_buffer_t reg_pbuf; /* Tampon des données à écrire */ GArchRegister *reg; /* Registre restauré */ parent = G_ARCH_OPERAND_CLASS(g_register_operand_parent_class); @@ -368,12 +368,12 @@ static bool g_register_operand_unserialize(GRegisterOperand *operand, GAsmStorag * * ******************************************************************************/ -static bool g_register_operand_serialize(const GRegisterOperand *operand, GAsmStorage *storage, packed_buffer *pbuf) +static bool g_register_operand_serialize(const GRegisterOperand *operand, GAsmStorage *storage, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ GArchOperandClass *parent; /* Classe parente à consulter */ off64_t pos; /* Position dans le flux */ - packed_buffer reg_pbuf; /* Tampon des données à écrire */ + packed_buffer_t reg_pbuf; /* Tampon des données à écrire */ parent = G_ARCH_OPERAND_CLASS(g_register_operand_parent_class); |