From 2f64a54b23d9eaed86bb50c4a7ec16ec02315eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Tue, 30 May 2017 17:04:55 +0200 Subject: [PATCH] C++ wrapper: mask support --- tools/abstractapi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/abstractapi.py b/tools/abstractapi.py index 27ff941f3..00ab7d076 100644 --- a/tools/abstractapi.py +++ b/tools/abstractapi.py @@ -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) else: raise Error('Unknown C type \'{0}\''.format(cType.ctype))