[Mesa-dev] [PATCH 28/41] glapi: gl_XML.py: add missing method prototype.
Ian Romanick
idr at freedesktop.org
Tue Apr 19 23:27:32 UTC 2016
This patch is
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 03/31/2016 05:04 PM, Dylan Baker wrote:
> This method is a no-op, but it shuts up tools that get upset that Print
> calls a non-existent method.
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
> src/mapi/glapi/gen/gl_XML.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py
> index 73baef6..2ce6e5d 100644
> --- a/src/mapi/glapi/gen/gl_XML.py
> +++ b/src/mapi/glapi/gen/gl_XML.py
> @@ -117,6 +117,9 @@ class gl_print_base(object):
>
> self.undef_list = []
>
> + def printBody(self, api):
> + pass
> +
> def Print(self, api):
> self.printHeader()
> self.printBody(api)
>
More information about the mesa-dev
mailing list