]> git.cworth.org Git - apitrace/blobdiff - specs/stdapi.py
Adjust D3D9's sideeffect settings.
[apitrace] / specs / stdapi.py
index 6aa4089f6d0984880f475bf57a87d75fc0d2cd5e..30a42df888794ba543fe3227c57896f0196eb757 100644 (file)
@@ -361,8 +361,8 @@ class Interface(Type):
 
 class Method(Function):
 
-    def __init__(self, type, name, args, const=False):
-        Function.__init__(self, type, name, args, call = '__stdcall')
+    def __init__(self, type, name, args, const=False, sideeffects=True):
+        Function.__init__(self, type, name, args, call = '__stdcall', sideeffects=sideeffects)
         for index in range(len(self.args)):
             self.args[index].index = index + 1
         self.const = const