]> git.cworth.org Git - apitrace/blobdiff - specs/stdapi.py
d3dtrace: Prevent clashes in method signature IDs.
[apitrace] / specs / stdapi.py
index 930bb82b9be8a9eee0088178b9bda22bafb2fa00..b86668bd13be9d2a44b34227fbf5d06eee7733f5 100644 (file)
@@ -340,13 +340,7 @@ def InOut(type, name):
 
 class Function:
 
-    # 0-3 are reserved to memcpy, malloc, free, and realloc
-    __id = 4
-
     def __init__(self, type, name, args, call = '', fail = None, sideeffects=True, internal=False):
-        self.id = Function.__id
-        Function.__id += 1
-
         self.type = type
         self.name = name