summaryrefslogtreecommitdiff
path: root/src/analysis/types/cse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/types/cse.c')
-rw-r--r--src/analysis/types/cse.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/analysis/types/cse.c b/src/analysis/types/cse.c
index 40d726e..4ee03ef 100644
--- a/src/analysis/types/cse.c
+++ b/src/analysis/types/cse.c
@@ -84,6 +84,7 @@ static void g_class_enum_type_init(GClassEnumType *type)
data_type->dup = (type_dup_fc)g_class_enum_type_dup;
data_type->to_string = (type_to_string_fc)g_class_enum_type_to_string;
+ data_type->output = (output_type_fc)g_class_enum_type_output;
}
@@ -151,3 +152,27 @@ char *g_class_enum_type_to_string(const GClassEnumType *type)
return strdup(type->name);
}
+
+
+/******************************************************************************
+* *
+* Paramètres : type = type à afficher. *
+* lang = langage à utiliser pour la sortie humaine. *
+* buffer = tampon mis à disposition pour la sortie. *
+* info = nature du cadre de destination. *
+* full = besoin de descriptions étendues ? *
+* *
+* Description : Procède à l'impression de la description d'un type. *
+* *
+* Retour : - *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+void g_class_enum_type_output(const GClassEnumType *type, GLangOutput *lang, GBufferLine *line, bool info, bool full)
+{
+ g_buffer_line_insert_text(line, BLC_LAST_USED, type->name, strlen(type->name),
+ info ? RTT_COMMENT : RTT_RAW);
+
+}