]> git.cworth.org Git - apitrace/blobdiff - specs/scripts/cdecl.py
Update downloads link.
[apitrace] / specs / scripts / cdecl.py
index 7c1568aed544a4a56452f6c3e0cd475a9eb4512c..7deb2955d51778d1c4559a54e9f0e227cf379b69 100755 (executable)
@@ -234,7 +234,7 @@ class DeclParser:
                 self.consume()
                 self.consume(':')
             else:
-                self.parse_prototype('StdMethod')
+                self.parse_prototype('Method')
                 self.consume(';')
         self.consume('}')
 
@@ -247,7 +247,7 @@ class DeclParser:
 
         ret = self.parse_type()
 
-        if self.match('__stdcall', 'WINAPI'):
+        if self.match('__stdcall', 'WINAPI', 'STDMETHODCALLTYPE'):
             self.consume()
             creator = 'Std' + creator