summaryrefslogtreecommitdiff
path: root/specs/scripts
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-11-20 14:48:31 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-11-20 15:23:57 +0000
commitf450d8bfedfcddc318020fd93e306e45848a8702 (patch)
tree7ab90acf42455c053ff64fadf972c0450cb8fa5d /specs/scripts
parent944088ed749f195699228598ce3955063696931b (diff)
dxgi: Support tracng DWM process.
Diffstat (limited to 'specs/scripts')
-rwxr-xr-xspecs/scripts/cdecl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/specs/scripts/cdecl.py b/specs/scripts/cdecl.py
index 7c1568ae..7deb2955 100755
--- a/specs/scripts/cdecl.py
+++ b/specs/scripts/cdecl.py
@@ -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