Commit 21203d48 authored by François Grisez's avatar François Grisez

Abstract API: fix 'isconst' property for List types.

parent 17537591
......@@ -869,6 +869,7 @@ class CParser(object):
absType.isref = cType.completeType.endswith('*')
elif cType.ctype == self.cListType:
absType = ListType(cType.containedType)
absType.isconst = cType.completeType.startswith('const ')
elif cType.ctype.endswith('Mask'):
absType = BaseType('integer', isUnsigned=True)
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