summaryrefslogtreecommitdiff
path: root/src/decomp/output-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-12-02 00:59:53 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-12-02 00:59:53 (GMT)
commit957f50b657456c4c7da2778197c144548eded8cd (patch)
tree9aea0e8ffb4dc62b23fd324b55910916cef95167 /src/decomp/output-int.h
parentf2d479c16a427696790441fa1459e7194f49bb6a (diff)
Improved the rendering of decompiled Dex code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@196 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/decomp/output-int.h')
-rw-r--r--src/decomp/output-int.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/decomp/output-int.h b/src/decomp/output-int.h
index eb22fd6..0d22aa5 100644
--- a/src/decomp/output-int.h
+++ b/src/decomp/output-int.h
@@ -32,6 +32,15 @@
/* Ajoute un commentaire à un tampon donné. */
typedef GBufferLine * (* write_comments_fc) (GLangOutput *, GCodeBuffer *, const char *, size_t);
+/* Xxx. */
+typedef GBufferLine * (* rlgbuftp_fc) (GLangOutput *, GCodeBuffer *, const GOpenidaType *);
+
+/* Xxx. */
+typedef void (* lgbuf_fc) (GLangOutput *, GCodeBuffer *);
+
+/* Xxx. */
+typedef void (* lgbufln_fc) (GLangOutput *, GCodeBuffer *, GBufferLine *);
+
/* Sortie selon un langage de programmation (instance) */
@@ -41,6 +50,14 @@ struct _GLangOutput
write_comments_fc write_comments; /* Commentaires sur une ligne */
+ rlgbuftp_fc start_class; /* Début de définition */
+ lgbuf_fc end_class; /* Fin de définition de classe */
+
+ rlgbuftp_fc start_routine_proto; /* Début de prototype */
+ lgbufln_fc end_routine_proto; /* Fin de prototype */
+ lgbufln_fc start_routine_body; /* Début de définition */
+ lgbuf_fc end_routine_body; /* Fin de définition de corps */
+
};