From: Stefan Behnel Date: Sat, 12 Feb 2011 12:50:36 +0000 (+0100) Subject: Py2.7/3.1 add a new field to Py_buffer X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=75c9af2adf747c30eb7e14b306f3c5f387e470e3;p=cython.git Py2.7/3.1 add a new field to Py_buffer --- diff --git a/Cython/Compiler/Builtin.py b/Cython/Compiler/Builtin.py index 65a7ddb3..7c882724 100644 --- a/Cython/Compiler/Builtin.py +++ b/Cython/Compiler/Builtin.py @@ -503,6 +503,7 @@ builtin_structs_table = [ ("shape", PyrexTypes.c_py_ssize_t_ptr_type), ("strides", PyrexTypes.c_py_ssize_t_ptr_type), ("suboffsets", PyrexTypes.c_py_ssize_t_ptr_type), + ("smalltable", PyrexTypes.CArrayType(PyrexTypes.c_py_ssize_t_type, 2)), ("internal", PyrexTypes.c_void_ptr_type), ]), ('Py_complex', 'Py_complex',