Add '*' variant signature at gdbus-codegen
[platform/upstream/glib.git] / gio / gdbus-2.0 / codegen / dbustypes.py
index e16ea52..e9e6998 100644 (file)
@@ -72,7 +72,7 @@ def variant_check_signature(signature: str):
     if len(signature) > 255:
         print_error("D-Bus maximum signature length of 255 exceeded.")
     for s in signature:
-        if s not in "ybnqiuxthdvasog(){}":
+        if s not in "ybnqiuxthdvasog(){}*":
             print_error(
                 f'Bad signature "{signature}". "{s}" is not a valid D-Bus type.'
             )