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/instruction-int.h | |
parent | 1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff) |
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'src/arch/instruction-int.h')
-rw-r--r-- | src/arch/instruction-int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/instruction-int.h b/src/arch/instruction-int.h index ed172bb..6a3ccea 100644 --- a/src/arch/instruction-int.h +++ b/src/arch/instruction-int.h @@ -47,10 +47,10 @@ typedef char * (* build_instruction_tooltip_fc) (const GArchInstruction *); typedef const char * (* get_instruction_desc_fc) (const GArchInstruction *); /* Charge une instruction depuis une mémoire tampon. */ -typedef bool (* unserialize_instruction_fc) (GArchInstruction *, GAsmStorage *, GBinFormat *, packed_buffer *); +typedef bool (* unserialize_instruction_fc) (GArchInstruction *, GAsmStorage *, GBinFormat *, packed_buffer_t *); /* Sauvegarde une instruction dans une mémoire tampon. */ -typedef bool (* serialize_instruction_fc) (GArchInstruction *, GAsmStorage *, packed_buffer *); +typedef bool (* serialize_instruction_fc) (GArchInstruction *, GAsmStorage *, packed_buffer_t *); /* Ajoute à un tampon GLib le contenu de l'instance spécifiée. */ typedef GBufferLine * (* print_instruction_fc) (const GArchInstruction *, GBufferLine *, size_t, size_t, const GBinContent *); |