1#ifndef Py_INTERNAL_UNIONOBJECT_H
2#define Py_INTERNAL_UNIONOBJECT_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7#ifndef Py_BUILD_CORE
8# error "this header requires Py_BUILD_CORE define"
9#endif
10
11extern PyTypeObject _PyUnion_Type;
12#define _PyUnion_Check(op) Py_IS_TYPE(op, &_PyUnion_Type)
13extern PyObject *_Py_union_type_or(PyObject *, PyObject *);
14
15#define _PyGenericAlias_Check(op) PyObject_TypeCheck(op, &Py_GenericAliasType)
16extern PyObject *_Py_subs_parameters(PyObject *, PyObject *, PyObject *, PyObject *);
17extern PyObject *_Py_make_parameters(PyObject *);
18
19#ifdef __cplusplus
20}
21#endif
22#endif /* !Py_INTERNAL_UNIONOBJECT_H */
23