Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / mapi / new / genCommon.py
index a9fdbcdc9eec7b5d710de4daab3b61ae57c71e8c..ec8e9e7501993228cbd6184b92dbf8c06dc895f8 100644 (file)
@@ -28,7 +28,7 @@
 import collections
 import re
 import sys
-import xml.etree.cElementTree as etree
+import xml.etree.ElementTree as etree
 
 import os
 GLAPI = os.path.join(os.path.dirname(__file__), "..", "glapi", "gen")
@@ -92,9 +92,6 @@ def getFunctionsFromRoots(roots):
             functions[i] = functions[i]._replace(slot=next_slot)
             next_slot += 1
 
-    # Sort the function list by slot.... to simplify the diff
-    functions = sorted(functions, key=lambda f: f.slot)
-
     return functions
 
 def getExportNamesFromRoots(target, roots):