summaryrefslogtreecommitdiff
path: root/src/analysis/type-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/type-int.h')
-rw-r--r--src/analysis/type-int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis/type-int.h b/src/analysis/type-int.h
index f553bf3..2c70c7b 100644
--- a/src/analysis/type-int.h
+++ b/src/analysis/type-int.h
@@ -29,6 +29,9 @@
+/* Calcule une empreinte pour un type de données. */
+typedef guint (* type_hash_fc) (const GDataType *);
+
/* Décrit le type fourni sous forme de caractères. */
typedef GDataType * (* type_dup_fc) (const GDataType *);
@@ -63,6 +66,7 @@ struct _GDataTypeClass
{
GObjectClass parent; /* A laisser en premier */
+ type_hash_fc hash; /* Prise d'empreinte */
type_dup_fc dup; /* Copie d'instance existante */
type_to_string_fc to_string; /* Conversion au format texte */