Include/internal/pycore_namespace.h
raw| 1 | // Simple namespace object interface |
| 2 | |
| 3 | #ifndef Py_INTERNAL_NAMESPACE_H |
| 4 | #define Py_INTERNAL_NAMESPACE_H |
| 5 | #ifdef __cplusplus |
| 6 | extern "C" { |
| 7 | #endif |
| 8 | |
| 9 | #ifndef Py_BUILD_CORE |
| 10 | # error "this header requires Py_BUILD_CORE define" |
| 11 | #endif |
| 12 | |
| 13 | extern PyTypeObject _PyNamespace_Type; |
| 14 | |
| 15 | // Export for '_testmultiphase' shared extension |
| 16 | PyAPI_FUNC(PyObject*) _PyNamespace_New(PyObject *kwds); |
| 17 | |
| 18 | #ifdef __cplusplus |
| 19 | } |
| 20 | #endif |
| 21 | #endif // !Py_INTERNAL_NAMESPACE_H |