Commit 2f64a54b authored by François Grisez's avatar François Grisez
Browse files

C++ wrapper: mask support

parent 6ef2f2a9
......@@ -799,6 +799,8 @@ class CParser(object):
absType.isref = cType.completeType.endswith('*')
elif cType.ctype == self.cListType:
absType = ListType(cType.containedType)
elif cType.ctype.endswith('Mask'):
absType = BaseType('integer', isUnsigned=True)
raise Error('Unknown C type \'{0}\''.format(cType.ctype))
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