mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
c5b13d6f80
No longer export these 2 internal C API functions: * _PyEval_SignalAsyncExc() * _PyEval_SignalReceived() Add also comments explaining why some internal functions have to be exported, and update existing comments.
22 lines
435 B
C
22 lines
435 B
C
// 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
|
|
|
|
extern PyTypeObject _PyNamespace_Type;
|
|
|
|
// Export for '_testmultiphase' shared extension
|
|
PyAPI_FUNC(PyObject*) _PyNamespace_New(PyObject *kwds);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif // !Py_INTERNAL_NAMESPACE_H
|