summaryrefslogtreecommitdiff
path: root/src/analysis/scan/items/math
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-10-06 11:41:46 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-10-06 11:41:46 (GMT)
commitedb4cc9c11c417d81b1948d93dfd171f0696217a (patch)
treef4d4d121f6a7428c06cf9e6610113a9d3755a461 /src/analysis/scan/items/math
parent2553a987f2d8ba35d839152a35392ca29b409841 (diff)
Rename the registered items for ROST to make their name more expressive.
Diffstat (limited to 'src/analysis/scan/items/math')
-rw-r--r--src/analysis/scan/items/math/to_string.c10
-rw-r--r--src/analysis/scan/items/math/to_string.h6
2 files changed, 8 insertions, 8 deletions
diff --git a/src/analysis/scan/items/math/to_string.c b/src/analysis/scan/items/math/to_string.c
index 4bb8363..5debb61 100644
--- a/src/analysis/scan/items/math/to_string.c
+++ b/src/analysis/scan/items/math/to_string.c
@@ -70,7 +70,7 @@ static bool g_scan_math_to_string_function_run_call(GScanMathToStringFunction *,
/* Indique le type défini pour une conversion d'entier en texte. */
-G_DEFINE_TYPE(GScanMathToStringFunction, g_scan_math_to_string_function, G_TYPE_REGISTERED_ITEM);
+G_DEFINE_TYPE(GScanMathToStringFunction, g_scan_math_to_string_function, G_TYPE_SCAN_REGISTERED_ITEM);
/******************************************************************************
@@ -88,14 +88,14 @@ G_DEFINE_TYPE(GScanMathToStringFunction, g_scan_math_to_string_function, G_TYPE_
static void g_scan_math_to_string_function_class_init(GScanMathToStringFunctionClass *klass)
{
GObjectClass *object; /* Autre version de la classe */
- GRegisteredItemClass *registered; /* Version de classe parente */
+ GScanRegisteredItemClass *registered; /* Version de classe parente */
object = G_OBJECT_CLASS(klass);
object->dispose = (GObjectFinalizeFunc/* ! */)g_scan_math_to_string_function_dispose;
object->finalize = (GObjectFinalizeFunc)g_scan_math_to_string_function_finalize;
- registered = G_REGISTERED_ITEM_CLASS(klass);
+ registered = G_SCAN_REGISTERED_ITEM_CLASS(klass);
registered->get_name = (get_registered_item_name_fc)g_scan_math_to_string_function_get_name;
registered->run_call = (run_registered_item_call_fc)g_scan_math_to_string_function_run_call;
@@ -171,9 +171,9 @@ static void g_scan_math_to_string_function_finalize(GScanMathToStringFunction *f
* *
******************************************************************************/
-GRegisteredItem *g_scan_math_to_string_function_new(void)
+GScanRegisteredItem *g_scan_math_to_string_function_new(void)
{
- GRegisteredItem *result; /* Structure à retourner */
+ GScanRegisteredItem *result; /* Structure à retourner */
result = g_object_new(G_TYPE_SCAN_MATH_TO_STRING_FUNCTION, NULL);
diff --git a/src/analysis/scan/items/math/to_string.h b/src/analysis/scan/items/math/to_string.h
index 19f0020..b9213a9 100644
--- a/src/analysis/scan/items/math/to_string.h
+++ b/src/analysis/scan/items/math/to_string.h
@@ -41,17 +41,17 @@
/* Conversion d'une valeur entière en valeur textuelle (instance) */
-typedef GRegisteredItem GScanMathToStringFunction;
+typedef GScanRegisteredItem GScanMathToStringFunction;
/* Conversion d'une valeur entière en valeur textuelle (classe) */
-typedef GRegisteredItemClass GScanMathToStringFunctionClass;
+typedef GScanRegisteredItemClass GScanMathToStringFunctionClass;
/* Indique le type défini pour une conversion d'entier en texte. */
GType g_scan_math_to_string_function_get_type(void);
/* Crée une fonction de conversion de valeur entière en texte. */
-GRegisteredItem *g_scan_math_to_string_function_new(void);
+GScanRegisteredItem *g_scan_math_to_string_function_new(void);