| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8c6e35d commit 3533061
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -475,6 +475,12 @@ Buffer-related functions | |||
| 475 | 475 | (*order* is ``'A'``). Return ``0`` otherwise. This function always succeeds. | |
| 476 | 476 | ||
| 477 | 477 | ||
| 478 | + .. c:function:: void* PyBuffer_GetPointer(Py_buffer *view, Py_ssize_t *indices) | ||
| 479 | + | ||
| 480 | + Get the memory area pointed to by the *indices* inside the given *view*. | ||
| 481 | + *indices* must point to an array of ``view->ndim`` indices. | ||
| 482 | + | ||
| 483 | + | ||
| 478 | 484 | .. c:function:: int PyBuffer_ToContiguous(void *buf, Py_buffer *src, Py_ssize_t len, char order) | |
| 479 | 485 | ||
| 480 | 486 | Copy *len* bytes from *src* to its contiguous representation in *buf*. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments