summaryrefslogtreecommitdiff
path: root/src/decomp
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-10-12 07:28:19 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-10-12 07:28:19 (GMT)
commitc7a14e50bd002e3922969e9bae7816753aefb073 (patch)
treecd098d2f92880705810dfdc353dad6ad1412b2c2 /src/decomp
parent4a51f37982c2d5d358971e947d05786b939af88e (diff)
Reorganized types definitions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@267 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/decomp')
-rw-r--r--src/decomp/lang/asm.c4
-rw-r--r--src/decomp/lang/java.c10
-rw-r--r--src/decomp/output-int.h2
-rw-r--r--src/decomp/output.c4
-rw-r--r--src/decomp/output.h4
5 files changed, 12 insertions, 12 deletions
diff --git a/src/decomp/lang/asm.c b/src/decomp/lang/asm.c
index ab71cc0..30c56cc 100644
--- a/src/decomp/lang/asm.c
+++ b/src/decomp/lang/asm.c
@@ -57,7 +57,7 @@ static GBufferLine *g_asm_output_write_comments(GAsmOutput *, GCodeBuffer *, con
static void g_asm_output_write_comp_sign(GAsmOutput *, GBufferLine *, CompSignType);
/* Débute la définition d'une routine. */
-static GBufferLine *g_asm_output_start_routine_prototype(GAsmOutput *, GCodeBuffer *, const GOpenidaType *);
+static GBufferLine *g_asm_output_start_routine_prototype(GAsmOutput *, GCodeBuffer *, const GDataType *);
/* Termine la définition d'une routine. */
static void g_asm_output_end_routine_prototype(GAsmOutput *, GCodeBuffer *, GBufferLine *);
@@ -231,7 +231,7 @@ static void g_asm_output_write_comp_sign(GAsmOutput *output, GBufferLine *line,
* *
******************************************************************************/
-static GBufferLine *g_asm_output_start_routine_prototype(GAsmOutput *output, GCodeBuffer *buffer, const GOpenidaType *ret)
+static GBufferLine *g_asm_output_start_routine_prototype(GAsmOutput *output, GCodeBuffer *buffer, const GDataType *ret)
{
GBufferLine *result; /* Adresse nouvelle à remonter */
diff --git a/src/decomp/lang/java.c b/src/decomp/lang/java.c
index 21da3af..5092f32 100644
--- a/src/decomp/lang/java.c
+++ b/src/decomp/lang/java.c
@@ -66,13 +66,13 @@ static GBufferLine *g_java_output_write_comments(GJavaOutput *, GCodeBuffer *, c
static void g_java_output_write_comp_sign(GJavaOutput *, GBufferLine *, CompSignType);
/* Débute la définition d'une classe. */
-static GBufferLine *g_java_output_start_class(GJavaOutput *, GCodeBuffer *, const GOpenidaType *);
+static GBufferLine *g_java_output_start_class(GJavaOutput *, GCodeBuffer *, const GDataType *);
/* Termine la définition d'une classe. */
static void g_java_output_end_class(GJavaOutput *, GCodeBuffer *);
/* Débute la définition d'une routine. */
-static GBufferLine *g_java_output_start_routine_prototype(GJavaOutput *, GCodeBuffer *, const GOpenidaType *);
+static GBufferLine *g_java_output_start_routine_prototype(GJavaOutput *, GCodeBuffer *, const GDataType *);
/* Termine la définition d'une routine. */
static void g_java_output_end_routine_prototype(GJavaOutput *, GCodeBuffer *, GBufferLine *);
@@ -343,7 +343,7 @@ static void g_java_output_write_comp_sign(GJavaOutput *output, GBufferLine *line
* *
******************************************************************************/
-static GBufferLine *g_java_output_start_class(GJavaOutput *output, GCodeBuffer *buffer, const GOpenidaType *type)
+static GBufferLine *g_java_output_start_class(GJavaOutput *output, GCodeBuffer *buffer, const GDataType *type)
{
GBufferLine *result; /* Adresse nouvelle à remonter */
char *name; /* Désignation humaine */
@@ -353,7 +353,7 @@ static GBufferLine *g_java_output_start_class(GJavaOutput *output, GCodeBuffer *
g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, "class", 5, RTT_KEY_WORD);
g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, " ", 1, RTT_RAW);
- name = _g_openida_type_to_string(type, true);
+ name = _g_data_type_to_string(type, true);
g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, name, strlen(name), RTT_RAW);
free(name);
@@ -413,7 +413,7 @@ static void g_java_output_end_class(GJavaOutput *output, GCodeBuffer *buffer)
* *
******************************************************************************/
-static GBufferLine *g_java_output_start_routine_prototype(GJavaOutput *output, GCodeBuffer *buffer, const GOpenidaType *ret)
+static GBufferLine *g_java_output_start_routine_prototype(GJavaOutput *output, GCodeBuffer *buffer, const GDataType *ret)
{
GBufferLine *result; /* Adresse nouvelle à remonter */
diff --git a/src/decomp/output-int.h b/src/decomp/output-int.h
index 885d9ca..be057af 100644
--- a/src/decomp/output-int.h
+++ b/src/decomp/output-int.h
@@ -39,7 +39,7 @@ typedef GBufferLine * (* write_comments_fc) (GLangOutput *, GCodeBuffer *, const
typedef void (* write_comp_sign_fc) (GLangOutput *, GBufferLine *, CompSignType);
/* Xxx. */
-typedef GBufferLine * (* rlgbuftp_fc) (GLangOutput *, GCodeBuffer *, const GOpenidaType *);
+typedef GBufferLine * (* rlgbuftp_fc) (GLangOutput *, GCodeBuffer *, const GDataType *);
/* Xxx. */
typedef void (* lgbuf_fc) (GLangOutput *, GCodeBuffer *);
diff --git a/src/decomp/output.c b/src/decomp/output.c
index 99d1912..698ce0d 100644
--- a/src/decomp/output.c
+++ b/src/decomp/output.c
@@ -216,7 +216,7 @@ void g_lang_output_write_comp_sign(GLangOutput *output, GBufferLine *line, CompS
* *
******************************************************************************/
-GBufferLine *g_lang_output_start_class(GLangOutput *output, GCodeBuffer *buffer, const GOpenidaType *type)
+GBufferLine *g_lang_output_start_class(GLangOutput *output, GCodeBuffer *buffer, const GDataType *type)
{
GBufferLine *result; /* Adresse nouvelle à remonter */
@@ -265,7 +265,7 @@ void g_lang_output_end_class(GLangOutput *output, GCodeBuffer *buffer)
* *
******************************************************************************/
-GBufferLine *g_lang_output_start_routine_prototype(GLangOutput *output, GCodeBuffer *buffer, const GOpenidaType *ret)
+GBufferLine *g_lang_output_start_routine_prototype(GLangOutput *output, GCodeBuffer *buffer, const GDataType *ret)
{
GBufferLine *result; /* Adresse nouvelle à remonter */
diff --git a/src/decomp/output.h b/src/decomp/output.h
index 6a1c4a1..7eac6d8 100644
--- a/src/decomp/output.h
+++ b/src/decomp/output.h
@@ -80,13 +80,13 @@ void g_lang_output_write_comp_sign(GLangOutput *, GBufferLine *, CompSignType);
/* Débute la définition d'une classe. */
-GBufferLine *g_lang_output_start_class(GLangOutput *, GCodeBuffer *, const GOpenidaType *);
+GBufferLine *g_lang_output_start_class(GLangOutput *, GCodeBuffer *, const GDataType *);
/* Termine la définition d'une classe. */
void g_lang_output_end_class(GLangOutput *, GCodeBuffer *);
/* Définit le prototype d'une routine. */
-GBufferLine *g_lang_output_start_routine_prototype(GLangOutput *, GCodeBuffer *, const GOpenidaType *);
+GBufferLine *g_lang_output_start_routine_prototype(GLangOutput *, GCodeBuffer *, const GDataType *);
/* Marque la fin du prototype d'une routine. */
void g_lang_output_end_routine_prototype(GLangOutput *, GCodeBuffer *, GBufferLine *);