-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
591 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ dependencies: | |
- coverage==4.5.2 | ||
- pytest==3.10.1 | ||
- cython==0.29 | ||
- numpy==1.15.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
cdef class cybuffer(object): | ||
cdef readonly object obj | ||
|
||
cdef Py_buffer _buf | ||
|
||
cdef char* _format | ||
cdef readonly Py_ssize_t itemsize | ||
|
||
cdef Py_ssize_t* _shape | ||
cdef Py_ssize_t* _strides | ||
|
||
cdef readonly bint c_contiguous | ||
cdef readonly bint f_contiguous | ||
cdef readonly bint contiguous | ||
|
||
cpdef bytes tobytes(self) | ||
cpdef list tolist(self) |
Oops, something went wrong.