summaryrefslogtreecommitdiff
path: root/cffi/cparser.py
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2015-10-05 20:10:13 +0200
committerArmin Rigo <arigo@tunes.org>2015-10-05 20:10:13 +0200
commitc68539a4b79354d1e540703e321834aa57c645e7 (patch)
tree498b4111f1020db02e2cb7988799cf5ba67841bc /cffi/cparser.py
parent52c1a75736ca235a91122f732eae710e12aef7e8 (diff)
downloadcffi-c68539a4b79354d1e540703e321834aa57c645e7.tar.gz
non-windows fixes
Diffstat (limited to 'cffi/cparser.py')
-rw-r--r--cffi/cparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cffi/cparser.py b/cffi/cparser.py
index 42ac367..9e9d270 100644
--- a/cffi/cparser.py
+++ b/cffi/cparser.py
@@ -167,7 +167,7 @@ class Parser(object):
if calling_conv is None or calling_conv == "cdecl":
abi = None
elif calling_conv == "stdcall":
- abi = "stdcall"
+ abi = "__stdcall"
else:
raise api.CDefError("calling_conv must be 'cdecl' or 'stdcall';"
" got %r" % (calling_conv,))