Closed GoogleCodeExporter closed 9 years ago
This is my patch for boolean support for ctypesgen. Please note that the actual
parser (parsetab.py) should still be generated from cgrammar.py.
Note that I first submitted this as part of the patch for issue #43, but got a
recommendation to create separate patches for separate functionality (I agree).
I also added a test for the bool type.
Original comment by ronald.b...@gmail.com
on 18 Jul 2013 at 10:22
Attachments:
I fixed my patch for the bool type so that it conforms to section 7.16 of the C
spec (as far as I understand now), i.e. the bool keyword is _Bool, and the
macro definitions from <stdbool.h> (or any custom macros) are required to make
the bool 'keyword' work.
Original comment by ronald.b...@gmail.com
on 19 Jul 2013 at 9:08
Attachments:
Changes look good but the test for this new feature is failing on my machine.
Following up with Ronald via email.
Original comment by clac...@gmail.com
on 20 Aug 2013 at 4:55
New patch that includes parsetab.py, which is generated from cgrammar.py.
Original comment by ronald.b...@gmail.com
on 20 Aug 2013 at 6:53
[deleted comment]
[deleted comment]
Fixed in r149. Thanks for the patch!
Original comment by clac...@gmail.com
on 21 Aug 2013 at 4:05
Original issue reported on code.google.com by
natetas...@gmail.com
on 13 Jul 2011 at 3:49