diff options
author | Armin Rigo <arigo@tunes.org> | 2015-09-30 12:08:57 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2015-09-30 12:08:57 +0200 |
commit | 80b9ee43e4ca6cb351c6d8ae9497ba1d86fa1dbf (patch) | |
tree | fa1bae6b6df5d81abf7bde78bd5a9d8acbd0cb4d /cffi/model.py | |
parent | 04d4814b8bac931832149067f501a5132e1ad8c3 (diff) | |
download | cffi-80b9ee43e4ca6cb351c6d8ae9497ba1d86fa1dbf.tar.gz |
Seems that "__restrict" is recognized in all gcc modes I could try,
and it should also be recognized on MSVC
Diffstat (limited to 'cffi/model.py')
-rw-r--r-- | cffi/model.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cffi/model.py b/cffi/model.py index c7af8c7..15b8f2d 100644 --- a/cffi/model.py +++ b/cffi/model.py @@ -12,7 +12,7 @@ def qualify(quals, replace_with): if quals & Q_CONST: replace_with = ' const ' + replace_with.lstrip() if quals & Q_RESTRICT: - replace_with = ' restrict ' + replace_with.lstrip() + replace_with = ' __restrict ' + replace_with.lstrip() return replace_with |