Author: Armin Rigo <ar...@tunes.org> Branch: qualtypes Changeset: r2290:db28e5f548ff Date: 2015-09-30 12:37 +0200 http://bitbucket.org/cffi/cffi/changeset/db28e5f548ff/
Log: A note diff --git a/cffi/model.py b/cffi/model.py --- a/cffi/model.py +++ b/cffi/model.py @@ -12,6 +12,9 @@ if quals & Q_CONST: replace_with = ' const ' + replace_with.lstrip() if quals & Q_RESTRICT: + # It seems that __restrict is supported by gcc and msvc. + # If you hit some different compiler, add a #define in + # _cffi_include.h for it (and in its copies, documented there) replace_with = ' __restrict ' + replace_with.lstrip() return replace_with _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit