blob: 0b6ff0f17e6f8c146bb27a1db22b3af3ed2228f5 [file]
/* Sentinel object interface */
#ifndef Py_LIMITED_API
#ifndef Py_SENTINELOBJECT_H
#define Py_SENTINELOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif
PyAPI_DATA(PyTypeObject) PySentinel_Type;
#define PySentinel_Check(op) Py_IS_TYPE((op), &PySentinel_Type)
PyAPI_FUNC(PyObject *) PySentinel_New(
const char *name,
const char *module_name);
#ifdef __cplusplus
}
#endif
#endif /* !Py_SENTINELOBJECT_H */
#endif /* !Py_LIMITED_API */