pycore_namespace.h 392 B

1234567891011121314151617181920
  1. // Simple namespace object interface
  2. #ifndef Py_INTERNAL_NAMESPACE_H
  3. #define Py_INTERNAL_NAMESPACE_H
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #ifndef Py_BUILD_CORE
  8. # error "this header requires Py_BUILD_CORE define"
  9. #endif
  10. PyAPI_DATA(PyTypeObject) _PyNamespace_Type;
  11. PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds);
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif // !Py_INTERNAL_NAMESPACE_H