Commit f5e63656 authored by Markus Holzer's avatar Markus Holzer
Browse files

Further small change

parent 4c181f4c
Pipeline #35251 passed with stages
in 25 minutes and 6 seconds
...@@ -634,10 +634,10 @@ class BasicType(Type): ...@@ -634,10 +634,10 @@ class BasicType(Type):
return 'ComplexDouble' return 'ComplexDouble'
elif name.startswith('int'): elif name.startswith('int'):
width = int(name[len("int"):]) width = int(name[len("int"):])
return "int%d_t" % (width,) return f"int{width}_t"
elif name.startswith('uint'): elif name.startswith('uint'):
width = int(name[len("uint"):]) width = int(name[len("uint"):])
return "uint%d_t" % (width,) return f"uint{width}_t"
elif name == 'bool': elif name == 'bool':
return 'bool' return 'bool'
else: else:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment