Mercurial > hg
diff mercurial/cffi/osutilbuild.py @ 32511:2e431fb98c6b
policy: extend API version checks for cffi
This is just a stub for future extension. I could add a version constant to
CFFI modules by putting it to both ffi.set_source() and ffi.cdef(), but that
doesn't seem right. So for now, cffi modules will be explicitly unversioned
(i.e. version constant must be undefined or set to None.) We can revisit it
later when we need to consider CFFI support more seriously.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 28 May 2017 15:45:52 +0900 |
parents | 2dcb3d52ef41 |
children | 2372284d9457 |