Merge remote-tracking branch 'ul/dev' into mntm-dev

This commit is contained in:
Willy-JL
2025-02-28 02:29:29 +00:00
105 changed files with 1676 additions and 687 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ def stringify_descr(type_descr):
# Hack
if isinstance(type_descr.ptr_to, FunctionType):
return stringify_descr(type_descr.ptr_to)
return f"{stringify_descr(type_descr.ptr_to)}*"
return f"{stringify_descr(type_descr.ptr_to)}*{' const' if type_descr.const else ''}"
elif isinstance(type_descr, Type):
return (
f"{'const ' if type_descr.const else ''}"