Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
5bdca351
Commit
5bdca351
authored
Jan 14, 2015
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #356 from esc/vh/enhance/numpy_dtype
Enhance cython defintion of the Numpy dtype
parents
71535da5
533f0380
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
Cython/Includes/numpy/__init__.pxd
Cython/Includes/numpy/__init__.pxd
+7
-4
No files found.
Cython/Includes/numpy/__init__.pxd
View file @
5bdca351
...
...
@@ -154,12 +154,15 @@ cdef extern from "numpy/arrayobject.h":
ctypedef
class
numpy
.
dtype
[
object
PyArray_Descr
]:
# Use PyDataType_* macros when possible, however there are no macros
# for accessing some of the fields, so some are defined. Please
# ask on cython-dev if you need more.
# for accessing some of the fields, so some are defined.
cdef
char
kind
cdef
char
type
cdef
char
byteorder
cdef
char
flags
cdef
int
type_num
cdef
int
itemsize
"elsize"
cdef
char
byteorder
cdef
obje
ct
fields
cdef
int
alignment
cdef
di
ct
fields
cdef
tuple
names
ctypedef
extern
class
numpy
.
flatiter
[
object
PyArrayIterObject
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment