diff options
author | Robert Bradshaw <robertwb@gmail.com> | 2016-03-21 23:58:59 -0700 |
---|---|---|
committer | Robert Bradshaw <robertwb@gmail.com> | 2016-03-21 23:58:59 -0700 |
commit | 802b65403481ee7a579694adf7ed01b4a1640623 (patch) | |
tree | 3f4a50fae2969cc8bffc8d1b88b890e19e6f3ca1 | |
parent | d38a5f097a755227eb53add976cc55032973af90 (diff) | |
download | cython-802b65403481ee7a579694adf7ed01b4a1640623.tar.gz |
Forward declare some memoryview utility code functions.
-rw-r--r-- | Cython/Utility/Buffer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Cython/Utility/Buffer.c b/Cython/Utility/Buffer.c index c5865b15e..0d0ad92b2 100644 --- a/Cython/Utility/Buffer.c +++ b/Cython/Utility/Buffer.c @@ -159,6 +159,11 @@ static void __Pyx_ReleaseBuffer(Py_buffer *view) { static CYTHON_INLINE int __Pyx_GetBufferAndValidate(Py_buffer* buf, PyObject* obj, __Pyx_TypeInfo* dtype, int flags, int nd, int cast, __Pyx_BufFmt_StackElem* stack); static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info); +static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const char* ts); +static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx, + __Pyx_BufFmt_StackElem* stack, + __Pyx_TypeInfo* type); // PROTO + /////////////// BufferFormatCheck /////////////// static CYTHON_INLINE int __Pyx_IsLittleEndian(void) { |