Commit Graph

6 Commits

Author SHA1 Message Date
Valentin Sarthou
10f2d76c62 Write files in binary format in parse_xml.py
Issue:
On Windows platforms, when writing files with python in text-mode, LF
characters get converted to CRLF.
This behavior leads to incorrect code generation in the steps following
parse_xml.py

Fix:
Replace file access mode by 'wb' to avoid any platform-dependent behavior
regarding newlines.
2019-03-17 09:03:24 +10:00
Nigel Stewart
dcff76b0d1 Type-mapping isn't needed for parse_xml.py WGL purposes, after all 2019-02-04 07:58:55 +10:00
Nigel Stewart
62b9213b44 Use parse_xml.py for WGL code generation 2019-02-04 07:58:55 +10:00
Nigel Stewart
8047ef41fa parse_xml.py touch-up for Python 3 (or Python 2) 2016-05-21 07:59:11 +10:00
Nigel Stewart
15881f0421 EGL fixup for void parameter lists, additional defines 2016-02-06 12:41:17 +10:00
Nigel Stewart
43a9299230 Initial EGL core and extension support with Python egl.xml spec parser 2016-02-06 12:41:11 +10:00