summaryrefslogtreecommitdiff
path: root/src/analysis/types/basic.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-10-13 21:24:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-10-13 21:24:12 (GMT)
commit362ff8ddd7fac8a10c7cccae303d2ce5ea6dd7f2 (patch)
tree5994c98dd314333be5d1a7cbf34ccec93efba83e /src/analysis/types/basic.c
parent15ca338693167373102f5a44c2694c0adc26d820 (diff)
Defined proper Python bindings for basic types.
Diffstat (limited to 'src/analysis/types/basic.c')
-rw-r--r--src/analysis/types/basic.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/analysis/types/basic.c b/src/analysis/types/basic.c
index 755a6f6..a907f2d 100644
--- a/src/analysis/types/basic.c
+++ b/src/analysis/types/basic.c
@@ -371,8 +371,12 @@ static char *g_basic_type_to_string(const GBasicType *type, bool include)
* *
******************************************************************************/
-BaseType g_basic_type_get_base_type(const GBasicType *type)
+BaseType g_basic_type_get_base(const GBasicType *type)
{
- return type->type;
+ BaseType result; /* Type de base à retourner */
+
+ result = type->type;
+
+ return result;
}