summaryrefslogtreecommitdiff
path: root/src/arch/operand-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-12-18 15:32:27 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-12-18 15:32:27 (GMT)
commitb0bcf250999b2242019f137e38f52390a86e71cd (patch)
treef3436a3ddbbd4773005ecb891630a815ed001341 /src/arch/operand-int.h
parent6bde4016160057a22234d4ed698903dca52ce162 (diff)
Shared all Dalvik operands between all their users.
Diffstat (limited to 'src/arch/operand-int.h')
-rw-r--r--src/arch/operand-int.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/operand-int.h b/src/arch/operand-int.h
index 5cc645f..3d3ffc9 100644
--- a/src/arch/operand-int.h
+++ b/src/arch/operand-int.h
@@ -26,6 +26,7 @@
#include "operand.h"
+#include "sharing/instance-int.h"
@@ -41,6 +42,8 @@ struct _GArchOperand
{
GObject parent; /* A laisser en premier */
+ unsigned int shared_count; /* Compteur de partages */
+
char *alt_text; /* Eventuel texte alternatif */
size_t alt_len; /* Taille de ce texte */
RenderingTagType alt_tag; /* Type de rendu */
@@ -53,6 +56,9 @@ struct _GArchOperandClass
{
GObjectClass parent; /* A laisser en premier */
+ init_shared_fc init; /* Mise en place via interface */
+ compare_shared_info_fc cmp_info; /* Comparaison des détails */
+
operand_compare_fc compare; /* Comparaison d'opérandes */
operand_print_fc print; /* Texte humain équivalent */