FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python/Include/bufferobject.h at master · fruitegg/python · GitHub
fruitegg
/
python
Public
forked from
glix/python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python
/
Include
/
bufferobject.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
33 lines (22 loc) · 922 Bytes
Breadcrumbs
python
/
Include
/
bufferobject.h
Copy path
File metadata and controls
33 lines (22 loc) · 922 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* Buffer object interface */
/* Note: the object's structure is private */
#ifndef
Py_BUFFEROBJECT_H
#define
Py_BUFFEROBJECT_H
#ifdef
__cplusplus
extern
"C"
{
#endif
PyAPI_DATA
(
PyTypeObject
)
PyBuffer_Type
;
#define
PyBuffer_Check
(
op
) (Py_TYPE(op) == &PyBuffer_Type)
#define
Py_END_OF_BUFFER
(-1)
PyAPI_FUNC
(
PyObject
*
)
PyBuffer_FromObject
(
PyObject
*
base
,
Py_ssize_t
offset
,
Py_ssize_t
size
);
PyAPI_FUNC
(
PyObject
*
)
PyBuffer_FromReadWriteObject
(
PyObject
*
base
,
Py_ssize_t
offset
,
Py_ssize_t
size
);
PyAPI_FUNC
(
PyObject
*
)
PyBuffer_FromMemory
(
void
*
ptr
,
Py_ssize_t
size
);
PyAPI_FUNC
(
PyObject
*
)
PyBuffer_FromReadWriteMemory
(
void
*
ptr
,
Py_ssize_t
size
);
PyAPI_FUNC
(
PyObject
*
)
PyBuffer_New
(
Py_ssize_t
size
);
#ifdef
__cplusplus
}
#endif
#endif
/* !Py_BUFFEROBJECT_H */
Back
|
FazBrowse Home
|
New Git URL