summaryrefslogtreecommitdiff
path: root/src/analysis/type-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-10-10 12:01:40 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-10-10 12:01:40 (GMT)
commit0b0f69bd1278b8f5d95c6ea8fb56915148992a77 (patch)
tree0d9ab819a636c6d7bf61e09856283efd1562353a /src/analysis/type-int.h
parent1af362266f616aed07e2661c9676c67dc3365740 (diff)
Updated the basic types definition and its Python bindings.
Diffstat (limited to 'src/analysis/type-int.h')
-rw-r--r--src/analysis/type-int.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/analysis/type-int.h b/src/analysis/type-int.h
index f6d931b..f553bf3 100644
--- a/src/analysis/type-int.h
+++ b/src/analysis/type-int.h
@@ -35,6 +35,9 @@ typedef GDataType * (* type_dup_fc) (const GDataType *);
/* Décrit le type fourni sous forme de caractères. */
typedef char * (* type_to_string_fc) (const GDataType *, bool);
+/* Indique si le type assure une gestion des espaces de noms. */
+typedef bool (* type_handle_ns_fc) (const GDataType *);
+
/* Indique si le type est un pointeur. */
typedef bool (* type_is_pointer_fc) (const GDataType *);
@@ -60,11 +63,10 @@ struct _GDataTypeClass
{
GObjectClass parent; /* A laisser en premier */
- bool handle_ns; /* Gestion au niveau de base ? */
-
type_dup_fc dup; /* Copie d'instance existante */
type_to_string_fc to_string; /* Conversion au format texte */
+ type_handle_ns_fc handle_ns; /* Gestion des espaces de noms?*/
type_is_pointer_fc is_pointer; /* Représentation de pointeur ?*/
type_is_reference_fc is_reference; /* Représentation de référence?*/