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/instructions | |
parent | 1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff) |
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'src/arch/instructions')
-rw-r--r-- | src/arch/instructions/raw.c | 8 | ||||
-rw-r--r-- | src/arch/instructions/undefined.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/arch/instructions/raw.c b/src/arch/instructions/raw.c index 0c27258..481dd1c 100644 --- a/src/arch/instructions/raw.c +++ b/src/arch/instructions/raw.c @@ -81,10 +81,10 @@ static const char *g_raw_instruction_get_keyword(const GRawInstruction *); /* Charge une instruction depuis une mémoire tampon. */ -static bool g_raw_instruction_unserialize(GRawInstruction *, GAsmStorage *, GBinFormat *, packed_buffer *); +static bool g_raw_instruction_unserialize(GRawInstruction *, GAsmStorage *, GBinFormat *, packed_buffer_t *); /* Sauvegarde une instruction dans une mémoire tampon. */ -static bool g_raw_instruction_serialize(GRawInstruction *, GAsmStorage *, packed_buffer *); +static bool g_raw_instruction_serialize(GRawInstruction *, GAsmStorage *, packed_buffer_t *); @@ -512,7 +512,7 @@ static const char *g_raw_instruction_get_keyword(const GRawInstruction *instr) * * ******************************************************************************/ -static bool g_raw_instruction_unserialize(GRawInstruction *instr, GAsmStorage *storage, GBinFormat *format, packed_buffer *pbuf) +static bool g_raw_instruction_unserialize(GRawInstruction *instr, GAsmStorage *storage, GBinFormat *format, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ GArchInstructionClass *parent; /* Classe parente à consulter */ @@ -559,7 +559,7 @@ static bool g_raw_instruction_unserialize(GRawInstruction *instr, GAsmStorage *s * * ******************************************************************************/ -static bool g_raw_instruction_serialize(GRawInstruction *instr, GAsmStorage *storage, packed_buffer *pbuf) +static bool g_raw_instruction_serialize(GRawInstruction *instr, GAsmStorage *storage, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ GArchInstructionClass *parent; /* Classe parente à consulter */ diff --git a/src/arch/instructions/undefined.c b/src/arch/instructions/undefined.c index dab7864..880e338 100644 --- a/src/arch/instructions/undefined.c +++ b/src/arch/instructions/undefined.c @@ -59,10 +59,10 @@ static const char *g_undef_instruction_get_keyword(const GUndefInstruction *); /* Charge une instruction depuis une mémoire tampon. */ -static bool g_undef_instruction_unserialize(GUndefInstruction *, GAsmStorage *, GBinFormat *, packed_buffer *); +static bool g_undef_instruction_unserialize(GUndefInstruction *, GAsmStorage *, GBinFormat *, packed_buffer_t *); /* Sauvegarde une instruction dans une mémoire tampon. */ -static bool g_undef_instruction_serialize(GUndefInstruction *, GAsmStorage *, packed_buffer *); +static bool g_undef_instruction_serialize(GUndefInstruction *, GAsmStorage *, packed_buffer_t *); @@ -296,7 +296,7 @@ const char *g_undef_instruction_get_keyword(const GUndefInstruction *instr) * * ******************************************************************************/ -static bool g_undef_instruction_unserialize(GUndefInstruction *instr, GAsmStorage *storage, GBinFormat *format, packed_buffer *pbuf) +static bool g_undef_instruction_unserialize(GUndefInstruction *instr, GAsmStorage *storage, GBinFormat *format, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ GArchInstructionClass *parent; /* Classe parente à consulter */ @@ -333,7 +333,7 @@ static bool g_undef_instruction_unserialize(GUndefInstruction *instr, GAsmStorag * * ******************************************************************************/ -static bool g_undef_instruction_serialize(GUndefInstruction *instr, GAsmStorage *storage, packed_buffer *pbuf) +static bool g_undef_instruction_serialize(GUndefInstruction *instr, GAsmStorage *storage, packed_buffer_t *pbuf) { bool result; /* Bilan à retourner */ GArchInstructionClass *parent; /* Classe parente à consulter */ |