summaryrefslogtreecommitdiff
path: root/src/arch/operand-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/operand-int.h')
-rw-r--r--src/arch/operand-int.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/arch/operand-int.h b/src/arch/operand-int.h
index c348654..d2f43f1 100644
--- a/src/arch/operand-int.h
+++ b/src/arch/operand-int.h
@@ -26,6 +26,7 @@
#include "operand.h"
+#include "../analysis/storage/storage.h"
#include "../glibext/objhole.h"
@@ -54,11 +55,11 @@ typedef void (* operand_update_inners_fc) (GArchOperand *, GArchOperand **, size
/* Fournit l'empreinte d'un candidat à une centralisation. */
typedef guint (* operand_hash_fc) (const GArchOperand *, bool);
-/* Charge un opérande depuis une mémoire tampon. */
-typedef bool (* unserialize_operand_fc) (GArchOperand *, GAsmStorage *, GBinFormat *, packed_buffer_t *);
+/* Charge un contenu depuis une mémoire tampon. */
+typedef bool (* load_operand_fc) (GArchOperand *, GObjectStorage *, packed_buffer_t *);
-/* Sauvegarde un opérande dans une mémoire tampon. */
-typedef bool (* serialize_operand_fc) (const GArchOperand *, GAsmStorage *, packed_buffer_t *);
+/* Sauvegarde un contenu dans une mémoire tampon. */
+typedef bool (* store_operand_fc) (GArchOperand *, GObjectStorage *, packed_buffer_t *);
/* Informations glissées dans la structure GObject de GArchOperand */
@@ -113,8 +114,8 @@ struct _GArchOperandClass
operand_update_inners_fc update_inner; /* Mise à jour des éléments */
operand_hash_fc hash; /* Prise d'empreinte */
- unserialize_operand_fc unserialize; /* Chargement depuis un tampon */
- serialize_operand_fc serialize; /* Conservation dans un tampon */
+ load_operand_fc load; /* Chargement depuis un tampon */
+ store_operand_fc store; /* Conservation dans un tampon */
};