summaryrefslogtreecommitdiff
path: root/src/format/mangling/context-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/mangling/context-int.h')
-rw-r--r--src/format/mangling/context-int.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/format/mangling/context-int.h b/src/format/mangling/context-int.h
index 851dd87..3e5e189 100644
--- a/src/format/mangling/context-int.h
+++ b/src/format/mangling/context-int.h
@@ -29,6 +29,10 @@
+/* Procède au décodage d'une chaîne de caractères. */
+typedef bool (* demangle_fc) (GDemanglingContext *, const char *);
+
+
/* Contexte de décodage (instance) */
struct _GDemanglingContext
{
@@ -36,6 +40,7 @@ struct _GDemanglingContext
union
{
+ GObject *gobj; /* Utile pour le nettoyage ! */
GBinRoutine *routine; /* Routine décodée */
GDataType *type; /* Type décodé */
};
@@ -47,6 +52,9 @@ struct _GDemanglingContextClass
{
GObjectClass parent; /* A laisser en premier */
+ demangle_fc demangle_type; /* Décodage de type */
+ demangle_fc demangle_routine; /* Décodage de routine */
+
};