X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fstdapi.py;fp=specs%2Fstdapi.py;h=846227ef3468fd2f06956476dc29d10bfd27c2b2;hb=43aa19fc1cf6979328dd6a1f6bcf33f74792faec;hp=8a5a5a7fa5b647f3e45a29fbe3c06db114d87b6c;hpb=cbe34810938b91291bc46a5de5535057b869f750;p=apitrace diff --git a/specs/stdapi.py b/specs/stdapi.py index 8a5a5a7..846227e 100644 --- a/specs/stdapi.py +++ b/specs/stdapi.py @@ -460,7 +460,8 @@ class Interface(Type): class Method(Function): - def __init__(self, type, name, args, call = '__stdcall', const=False, sideeffects=True): + def __init__(self, type, name, args, call = '', const=False, sideeffects=True): + assert call == '__stdcall' Function.__init__(self, type, name, args, call = call, sideeffects=sideeffects) for index in range(len(self.args)): self.args[index].index = index + 1