Commit 3c34c40f authored by Stefan Behnel's avatar Stefan Behnel

Add an explicit warning to modules that use the "array.array" internals and try to compile in PyPy.

Closes https://github.com/cython/cython/issues/3448
parent 1a6bba91
......@@ -46,6 +46,14 @@
: 2012-05-02 andreasvc
: (see revision control)
"""
cdef extern from *:
"""
#if CYTHON_COMPILING_IN_PYPY
#warning This module uses CPython specific internals of 'array.array', which are not available in PyPy.
#endif
"""
from libc.string cimport memset, memcpy
from cpython.object cimport Py_SIZE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment