2021-10-15 10:21:21 -03:00
|
|
|
// Simple namespace object interface
|
|
|
|
|
|
|
|
#ifndef Py_INTERNAL_NAMESPACE_H
|
|
|
|
#define Py_INTERNAL_NAMESPACE_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef Py_BUILD_CORE
|
|
|
|
# error "this header requires Py_BUILD_CORE define"
|
|
|
|
#endif
|
|
|
|
|
2023-07-24 22:49:28 -03:00
|
|
|
extern PyTypeObject _PyNamespace_Type;
|
2021-10-15 10:21:21 -03:00
|
|
|
|
2023-07-25 00:16:28 -03:00
|
|
|
// Export for '_testmultiphase' shared extension
|
2023-07-24 22:49:28 -03:00
|
|
|
PyAPI_FUNC(PyObject*) _PyNamespace_New(PyObject *kwds);
|
2021-10-15 10:21:21 -03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif // !Py_INTERNAL_NAMESPACE_H
|