From fad3b3553105b6007927297cce24e6441dc3cc90 Mon Sep 17 00:00:00 2001 From: James Westman Date: Sat, 11 Mar 2023 21:36:27 -0600 Subject: [PATCH] types: Remove g* type names They aren't used in GIR parsing anymore since we use typelibs, and blueprint files should use the non-prefixed names. --- blueprintcompiler/gir.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/blueprintcompiler/gir.py b/blueprintcompiler/gir.py index a9f5693..f03a37f 100644 --- a/blueprintcompiler/gir.py +++ b/blueprintcompiler/gir.py @@ -208,20 +208,11 @@ class TypeType(BasicType): _BASIC_TYPES = { "bool": BoolType, - "gboolean": BoolType, "string": StringType, - "gchararray": StringType, "int": IntType, - "gint": IntType, - "gint64": IntType, - "guint": UIntType, - "guint64": UIntType, - "gfloat": FloatType, - "gdouble": FloatType, + "uint": UIntType, "float": FloatType, "double": FloatType, - "utf8": StringType, - "gtype": TypeType, "type": TypeType, }