[Mesa-dev] [PATCH 28/41] glapi: gl_XML.py: add missing method prototype.

Dylan Baker baker.dylan.c at gmail.com
Fri Apr 1 00:04:45 UTC 2016


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)
-- 
2.8.0



More information about the mesa-dev mailing list