mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>.
(cherry picked from commit c45fa1a5d9)
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
21 lines
548 B
C
21 lines
548 B
C
#ifndef Py_INTERNAL_UNIONOBJECT_H
|
|
#define Py_INTERNAL_UNIONOBJECT_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef Py_BUILD_CORE
|
|
# error "this header requires Py_BUILD_CORE define"
|
|
#endif
|
|
|
|
PyAPI_FUNC(PyObject *) _Py_Union(PyObject *args);
|
|
PyAPI_DATA(PyTypeObject) _Py_UnionType;
|
|
PyAPI_FUNC(PyObject *) _Py_union_type_or(PyObject* self, PyObject* param);
|
|
|
|
PyObject *_Py_subs_parameters(PyObject *, PyObject *, PyObject *, PyObject *);
|
|
PyObject *_Py_make_parameters(PyObject *);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* !Py_INTERNAL_UNIONOBJECT_H */
|