projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f68c85
)
Py2.7/3.1 add a new field to Py_buffer
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 12 Feb 2011 12:50:36 +0000
(13:50 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 12 Feb 2011 12:50:36 +0000
(13:50 +0100)
Cython/Compiler/Builtin.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Builtin.py
b/Cython/Compiler/Builtin.py
index 65a7ddb3d1f128a17d334db685dc1b92fcda1902..7c88272412d3739fb641f85ab6f5e0873d7cbfde 100644
(file)
--- 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',