File indexing completed on 2025-11-19 09:50:50
0001 #ifndef Py_INTERNAL_SETOBJECT_H
0002 #define Py_INTERNAL_SETOBJECT_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
0012 PyAPI_FUNC(int) _PySet_NextEntry(
0013 PyObject *set,
0014 Py_ssize_t *pos,
0015 PyObject **key,
0016 Py_hash_t *hash);
0017
0018
0019 PyAPI_FUNC(int) _PySet_NextEntryRef(
0020 PyObject *set,
0021 Py_ssize_t *pos,
0022 PyObject **key,
0023 Py_hash_t *hash);
0024
0025
0026 PyAPI_FUNC(int) _PySet_Update(PyObject *set, PyObject *iterable);
0027
0028
0029 PyAPI_DATA(PyObject *) _PySet_Dummy;
0030
0031 PyAPI_FUNC(int) _PySet_Contains(PySetObject *so, PyObject *key);
0032
0033
0034 extern void _PySet_ClearInternal(PySetObject *so);
0035
0036 #ifdef __cplusplus
0037 }
0038 #endif
0039 #endif