update
This commit is contained in:
16
.CondaPkg/env/include/moduleobject.h
vendored
16
.CondaPkg/env/include/moduleobject.h
vendored
@@ -78,19 +78,23 @@ struct PyModuleDef_Slot {
|
||||
|
||||
#define Py_mod_create 1
|
||||
#define Py_mod_exec 2
|
||||
#define Py_mod_multiple_interpreters 3
|
||||
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030c0000
|
||||
# define Py_mod_multiple_interpreters 3
|
||||
#endif
|
||||
|
||||
#ifndef Py_LIMITED_API
|
||||
#define _Py_mod_LAST_SLOT 3
|
||||
#endif
|
||||
|
||||
/* for Py_mod_multiple_interpreters: */
|
||||
#define Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED ((void *)0)
|
||||
#define Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED ((void *)1)
|
||||
#define Py_MOD_PER_INTERPRETER_GIL_SUPPORTED ((void *)2)
|
||||
|
||||
#endif /* New in 3.5 */
|
||||
|
||||
/* for Py_mod_multiple_interpreters: */
|
||||
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030c0000
|
||||
# define Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED ((void *)0)
|
||||
# define Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED ((void *)1)
|
||||
# define Py_MOD_PER_INTERPRETER_GIL_SUPPORTED ((void *)2)
|
||||
#endif
|
||||
|
||||
struct PyModuleDef {
|
||||
PyModuleDef_Base m_base;
|
||||
const char* m_name;
|
||||
|
||||
Reference in New Issue
Block a user