summaryrefslogtreecommitdiff
path: root/src/format/mangling/context-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-10-01 10:04:22 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-10-01 10:04:22 (GMT)
commit9aa5b354e83825e2d9843aea742aa62221a2130b (patch)
treee4a352a51ea5dd60fb385cab961ca06606c9e743 /src/format/mangling/context-int.h
parent32f7a1126f8ac5a602f60a29de18eb7c5683dcc2 (diff)
Decoded mangled names in a way suitable for the DEX format.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@580 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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 */
+
};