1 | #ifndef Py_INTERNAL_LIST_H |
---|---|
2 | #define Py_INTERNAL_LIST_H |
3 | #ifdef __cplusplus |
4 | extern "C"{ |
5 | #endif |
6 | |
7 | #ifndef Py_BUILD_CORE |
8 | # error "this header requires Py_BUILD_CORE define" |
9 | #endif |
10 | |
11 | #include "listobject.h" // _PyList_CAST() |
12 | |
13 | |
14 | #define _PyList_ITEMS(op) (_PyList_CAST(op)->ob_item) |
15 | |
16 | |
17 | #ifdef __cplusplus |
18 | } |
19 | #endif |
20 | #endif /* !Py_INTERNAL_LIST_H */ |
21 |