diff options
-rw-r--r-- | src/mapi/glapi/gen/gl_x86_asm.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/gl_x86_asm.py b/src/mapi/glapi/gen/gl_x86_asm.py index 86d45f2..c0c7941 100644 --- 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() |