X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fstdapi.py;h=30a42df888794ba543fe3227c57896f0196eb757;hb=160373232fa861fed10f8f137415888a18b12b1d;hp=6aa4089f6d0984880f475bf57a87d75fc0d2cd5e;hpb=12a22803faa06a0db229b6dfb6130a0e8156ba31;p=apitrace diff --git a/specs/stdapi.py b/specs/stdapi.py index 6aa4089..30a42df 100644 --- a/specs/stdapi.py +++ b/specs/stdapi.py @@ -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