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 PyAPI_DATA(PyTypeObject) _PyNamespace_Type; 14 15 PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds); 16 17 #ifdef __cplusplus 18 } 19 #endif 20 #endif // !Py_INTERNAL_NAMESPACE_H 21