From 75c9af2adf747c30eb7e14b306f3c5f387e470e3 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 12 Feb 2011 13:50:36 +0100 Subject: [PATCH] Py2.7/3.1 add a new field to Py_buffer --- Cython/Compiler/Builtin.py | 1 + 1 file changed, 1 insertion(+) 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', -- 2.26.2