projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
684feed
)
fix PyObject import in numpy.pxd, added ndarray.base attribute declaration
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 15 Oct 2009 14:11:01 +0000
(16:11 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 15 Oct 2009 14:11:01 +0000
(16:11 +0200)
Cython/Includes/numpy.pxd
patch
|
blob
|
history
diff --git
a/Cython/Includes/numpy.pxd
b/Cython/Includes/numpy.pxd
index f57761527c967cf9b9da6735b86f03e35492518e..fa5eb9512b63da8c735288cdad93e08c0c9f1799 100644
(file)
--- a/
Cython/Includes/numpy.pxd
+++ b/
Cython/Includes/numpy.pxd
@@
-17,7
+17,7
@@
DEF _buffer_format_string_len = 255
cimport python_buffer as pybuf
-from python_
object
cimport PyObject
+from python_
ref
cimport PyObject
cimport stdlib
cimport stdio
@@
-151,6
+151,7
@@
cdef extern from "numpy/arrayobject.h":
npy_intp *shape "dimensions"
npy_intp *strides
dtype descr
+ PyObject* base
# Note: This syntax (function definition in pxd files) is an
# experimental exception made for __getbuffer__ and __releasebuffer__