| | #ifndef Py_LIMITED_API |
| | #ifndef Py_INTERNAL_ACCU_H |
| | #define Py_INTERNAL_ACCU_H |
| | #ifdef __cplusplus |
| | extern "C" { |
| | #endif |
| |
|
| | |
| | |
| | |
| |
|
| | #ifndef Py_BUILD_CORE |
| | # error "this header requires Py_BUILD_CORE define" |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| |
|
| | #undef small |
| |
|
| | typedef struct { |
| | PyObject *large; |
| | PyObject *small; |
| | } _PyAccu; |
| |
|
| | PyAPI_FUNC(int) _PyAccu_Init(_PyAccu *acc); |
| | PyAPI_FUNC(int) _PyAccu_Accumulate(_PyAccu *acc, PyObject *unicode); |
| | PyAPI_FUNC(PyObject *) _PyAccu_FinishAsList(_PyAccu *acc); |
| | PyAPI_FUNC(PyObject *) _PyAccu_Finish(_PyAccu *acc); |
| | PyAPI_FUNC(void) _PyAccu_Destroy(_PyAccu *acc); |
| |
|
| | #ifdef __cplusplus |
| | } |
| | #endif |
| | #endif |
| | #endif |
| |
|