Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-11-19 09:50:52

0001 #ifndef Py_INTERNAL_UNIONOBJECT_H
0002 #define Py_INTERNAL_UNIONOBJECT_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006 
0007 #ifndef Py_BUILD_CORE
0008 #  error "this header requires Py_BUILD_CORE define"
0009 #endif
0010 
0011 // For extensions created by test_peg_generator
0012 PyAPI_DATA(PyTypeObject) _PyUnion_Type;
0013 PyAPI_FUNC(PyObject *) _Py_union_type_or(PyObject *, PyObject *);
0014 
0015 #define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
0016 
0017 #define _PyGenericAlias_Check(op) PyObject_TypeCheck((op), &Py_GenericAliasType)
0018 extern PyObject *_Py_subs_parameters(PyObject *, PyObject *, PyObject *, PyObject *);
0019 extern PyObject *_Py_make_parameters(PyObject *);
0020 extern PyObject *_Py_union_args(PyObject *self);
0021 
0022 #ifdef __cplusplus
0023 }
0024 #endif
0025 #endif /* !Py_INTERNAL_UNIONOBJECT_H */