self.consume()
self.consume(':')
else:
- self.parse_prototype('StdMethod')
+ self.parse_prototype('Method')
self.consume(';')
self.consume('}')
ret = self.parse_type()
- if self.match('__stdcall', 'WINAPI'):
+ if self.match('__stdcall', 'WINAPI', 'STDMETHODCALLTYPE'):
self.consume()
creator = 'Std' + creator