projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc96122
)
glapi: gl_x86_asm.py: use a main function
author
Dylan Baker
<baker.dylan.c@gmail.com>
Thu, 12 Feb 2015 02:05:35 +0000
(18:05 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Fri, 22 May 2015 18:31:27 +0000
(11:31 -0700)
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Acked-by: Matt Turner <mattst88@gmail.com>
src/mapi/glapi/gen/gl_x86_asm.py
patch
|
blob
|
history
diff --git
a/src/mapi/glapi/gen/gl_x86_asm.py
b/src/mapi/glapi/gen/gl_x86_asm.py
index 86d45f260469e046df1625c9c9bb3e5b4e8bd626..c0c7941ce10b4f250b44f459b2e785148030c0c8 100644
(file)
--- a/
src/mapi/glapi/gen/gl_x86_asm.py
+++ b/
src/mapi/glapi/gen/gl_x86_asm.py
@@
-227,9
+227,13
@@
def _parser():
return parser.parse_args()
-
if __name__ == '__main__'
:
+
def main()
:
args = _parser()
printer = PrintGenericStubs()
api = gl_XML.parse_GL_API(args.filename, glX_XML.glx_item_factory())
printer.Print(api)
+
+
+if __name__ == '__main__':
+ main()