summaryrefslogtreecommitdiff
path: root/src/arch/instruction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/instruction.c')
-rw-r--r--src/arch/instruction.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index 52c3aa0..4079e82 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -62,10 +62,10 @@ static void g_arch_instruction_finalize(GArchInstruction *);
/* Charge une instruction depuis une mémoire tampon. */
-static bool g_arch_instruction_unserialize(GArchInstruction *, GAsmStorage *, GBinFormat *, packed_buffer *);
+static bool g_arch_instruction_unserialize(GArchInstruction *, GAsmStorage *, GBinFormat *, packed_buffer_t *);
/* Sauvegarde une instruction dans une mémoire tampon. */
-static bool g_arch_instruction_serialize(GArchInstruction *, GAsmStorage *, packed_buffer *);
+static bool g_arch_instruction_serialize(GArchInstruction *, GAsmStorage *, packed_buffer_t *);
@@ -1660,16 +1660,16 @@ const char *g_arch_instruction_get_description(const GArchInstruction *instr)
* *
******************************************************************************/
-static bool g_arch_instruction_unserialize(GArchInstruction *instr, GAsmStorage *storage, GBinFormat *format, packed_buffer *pbuf)
+static bool g_arch_instruction_unserialize(GArchInstruction *instr, GAsmStorage *storage, GBinFormat *format, packed_buffer_t *pbuf)
{
bool result; /* Bilan à retourner */
- packed_buffer op_pbuf; /* Tampon des données à écrire */
+ packed_buffer_t op_pbuf; /* Tampon des données à écrire */
size_t count; /* Nombre d'éléments à traiter */
size_t i; /* Boucle de parcours */
off64_t pos; /* Position dans le flux */
GArchOperand *op; /* Opérande à traiter */
instr_link_t link; /* Lien vers une instruction */
- packed_buffer ins_pbuf; /* Tampon des données à écrire */
+ packed_buffer_t ins_pbuf; /* Tampon des données à écrire */
instr_obj_extra *extra; /* Données insérées à consulter*/
result = unpack_mrange(&instr->range, pbuf);
@@ -1784,7 +1784,7 @@ static bool g_arch_instruction_unserialize(GArchInstruction *instr, GAsmStorage
* *
******************************************************************************/
-GArchInstruction *g_arch_instruction_load(GAsmStorage *storage, GBinFormat *format, packed_buffer *pbuf)
+GArchInstruction *g_arch_instruction_load(GAsmStorage *storage, GBinFormat *format, packed_buffer_t *pbuf)
{
GArchInstruction *result; /* Instance à retourner */
bool status; /* Bilan du chargement */
@@ -1822,10 +1822,10 @@ GArchInstruction *g_arch_instruction_load(GAsmStorage *storage, GBinFormat *form
* *
******************************************************************************/
-static bool g_arch_instruction_serialize(GArchInstruction *instr, GAsmStorage *storage, packed_buffer *pbuf)
+static bool g_arch_instruction_serialize(GArchInstruction *instr, GAsmStorage *storage, packed_buffer_t *pbuf)
{
bool result; /* Bilan à retourner */
- packed_buffer op_pbuf; /* Tampon des données à écrire */
+ packed_buffer_t op_pbuf; /* Tampon des données à écrire */
size_t count; /* Nombre d'éléments à traiter */
size_t i; /* Boucle de parcours */
GArchOperand *op; /* Opérande à traiter */
@@ -1966,7 +1966,7 @@ static bool g_arch_instruction_serialize(GArchInstruction *instr, GAsmStorage *s
* *
******************************************************************************/
-bool g_arch_instruction_store(GArchInstruction *instr, GAsmStorage *storage, packed_buffer *pbuf)
+bool g_arch_instruction_store(GArchInstruction *instr, GAsmStorage *storage, packed_buffer_t *pbuf)
{
bool result; /* Bilan à retourner */