gl_table.py: add extern C guard for the generated glapitable.h
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 23 Nov 2017 18:51:14 +0000 (18:51 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 27 Nov 2017 19:23:05 +0000 (19:23 +0000)
commitc7616ac06973a80c3c6e9def49a3fa6606ba6097
tree46bf3fefba693aa28240bae249cdb3c90ba0c97e
parent6b8909f2d19064c6dcd6ccd6a21cddf93a545c7a
gl_table.py: add extern C guard for the generated glapitable.h

The header can be included from C++, hence contents should have
appropriate notation.

Cc: mesa-stable@lists.freedesktop.org
Cc: Dylan Baker <dylan@pnwbakers.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/mapi/glapi/gen/gl_table.py