X7ROOT File Manager
Current Path:
/opt/alt/python312/include/python3.12/cpython
opt
/
alt
/
python312
/
include
/
python3.12
/
cpython
/
??
..
??
abstract.h
(7.69 KB)
??
bytearrayobject.h
(1.14 KB)
??
bytesobject.h
(4.55 KB)
??
cellobject.h
(1.05 KB)
??
ceval.h
(1.61 KB)
??
classobject.h
(2.19 KB)
??
code.h
(15.81 KB)
??
compile.h
(2.6 KB)
??
complexobject.h
(1.22 KB)
??
context.h
(1.92 KB)
??
descrobject.h
(1.6 KB)
??
dictobject.h
(4.58 KB)
??
fileobject.h
(818 B)
??
fileutils.h
(232 B)
??
floatobject.h
(900 B)
??
frameobject.h
(1.08 KB)
??
funcobject.h
(7.02 KB)
??
genobject.h
(3.24 KB)
??
import.h
(1.58 KB)
??
initconfig.h
(7.64 KB)
??
interpreteridobject.h
(387 B)
??
listobject.h
(1.59 KB)
??
longintrepr.h
(4.77 KB)
??
longobject.h
(4.57 KB)
??
memoryobject.h
(2.22 KB)
??
methodobject.h
(2.22 KB)
??
modsupport.h
(4.23 KB)
??
object.h
(20.71 KB)
??
objimpl.h
(3.24 KB)
??
odictobject.h
(1.28 KB)
??
picklebufobject.h
(848 B)
??
pthread_stubs.h
(3.42 KB)
??
pyctype.h
(1.35 KB)
??
pydebug.h
(1.38 KB)
??
pyerrors.h
(4.18 KB)
??
pyfpe.h
(444 B)
??
pyframe.h
(1.44 KB)
??
pylifecycle.h
(3.34 KB)
??
pymem.h
(3.3 KB)
??
pystate.h
(16.82 KB)
??
pythonrun.h
(4.79 KB)
??
pythread.h
(1.38 KB)
??
pytime.h
(12.11 KB)
??
setobject.h
(2.1 KB)
??
sysmodule.h
(489 B)
??
traceback.h
(444 B)
??
tupleobject.h
(1.34 KB)
??
unicodeobject.h
(34.47 KB)
??
warnings.h
(564 B)
??
weakrefobject.h
(1.98 KB)
Editing: dictobject.h
#ifndef Py_CPYTHON_DICTOBJECT_H # error "this header file must not be included directly" #endif typedef struct _dictkeysobject PyDictKeysObject; typedef struct _dictvalues PyDictValues; /* The ma_values pointer is NULL for a combined table * or points to an array of PyObject* for a split table */ typedef struct { PyObject_HEAD /* Number of items in the dictionary */ Py_ssize_t ma_used; /* Dictionary version: globally unique, value change each time the dictionary is modified */ #ifdef Py_BUILD_CORE uint64_t ma_version_tag; #else Py_DEPRECATED(3.12) uint64_t ma_version_tag; #endif PyDictKeysObject *ma_keys; /* If ma_values is NULL, the table is "combined": keys and values are stored in ma_keys. If ma_values is not NULL, the table is split: keys are stored in ma_keys and values are stored in ma_values */ PyDictValues *ma_values; } PyDictObject; PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key, Py_hash_t hash); PyAPI_FUNC(PyObject *) _PyDict_GetItemWithError(PyObject *dp, PyObject *key); PyAPI_FUNC(PyObject *) _PyDict_GetItemIdWithError(PyObject *dp, _Py_Identifier *key); PyAPI_FUNC(PyObject *) _PyDict_GetItemStringWithError(PyObject *, const char *); PyAPI_FUNC(PyObject *) PyDict_SetDefault( PyObject *mp, PyObject *key, PyObject *defaultobj); PyAPI_FUNC(int) _PyDict_SetItem_KnownHash(PyObject *mp, PyObject *key, PyObject *item, Py_hash_t hash); PyAPI_FUNC(int) _PyDict_DelItem_KnownHash(PyObject *mp, PyObject *key, Py_hash_t hash); PyAPI_FUNC(int) _PyDict_DelItemIf(PyObject *mp, PyObject *key, int (*predicate)(PyObject *value)); PyAPI_FUNC(int) _PyDict_Next( PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, Py_hash_t *hash); /* Get the number of items of a dictionary. */ static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) { PyDictObject *mp; assert(PyDict_Check(op)); mp = _Py_CAST(PyDictObject*, op); return mp->ma_used; } #define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op)) PyAPI_FUNC(int) _PyDict_Contains_KnownHash(PyObject *, PyObject *, Py_hash_t); PyAPI_FUNC(int) _PyDict_ContainsId(PyObject *, _Py_Identifier *); PyAPI_FUNC(PyObject *) _PyDict_NewPresized(Py_ssize_t minused); PyAPI_FUNC(void) _PyDict_MaybeUntrack(PyObject *mp); PyAPI_FUNC(int) _PyDict_HasOnlyStringKeys(PyObject *mp); PyAPI_FUNC(Py_ssize_t) _PyDict_SizeOf(PyDictObject *); PyAPI_FUNC(PyObject *) _PyDict_Pop(PyObject *, PyObject *, PyObject *); #define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL) /* Like PyDict_Merge, but override can be 0, 1 or 2. If override is 0, the first occurrence of a key wins, if override is 1, the last occurrence of a key wins, if override is 2, a KeyError with conflicting key as argument is raised. */ PyAPI_FUNC(int) _PyDict_MergeEx(PyObject *mp, PyObject *other, int override); PyAPI_FUNC(int) _PyDict_SetItemId(PyObject *dp, _Py_Identifier *key, PyObject *item); PyAPI_FUNC(int) _PyDict_DelItemId(PyObject *mp, _Py_Identifier *key); PyAPI_FUNC(void) _PyDict_DebugMallocStats(FILE *out); /* _PyDictView */ typedef struct { PyObject_HEAD PyDictObject *dv_dict; } _PyDictViewObject; PyAPI_FUNC(PyObject *) _PyDictView_New(PyObject *, PyTypeObject *); PyAPI_FUNC(PyObject *) _PyDictView_Intersect(PyObject* self, PyObject *other); /* Dictionary watchers */ #define PY_FOREACH_DICT_EVENT(V) \ V(ADDED) \ V(MODIFIED) \ V(DELETED) \ V(CLONED) \ V(CLEARED) \ V(DEALLOCATED) typedef enum { #define PY_DEF_EVENT(EVENT) PyDict_EVENT_##EVENT, PY_FOREACH_DICT_EVENT(PY_DEF_EVENT) #undef PY_DEF_EVENT } PyDict_WatchEvent; // Callback to be invoked when a watched dict is cleared, dealloced, or modified. // In clear/dealloc case, key and new_value will be NULL. Otherwise, new_value will be the // new value for key, NULL if key is being deleted. typedef int(*PyDict_WatchCallback)(PyDict_WatchEvent event, PyObject* dict, PyObject* key, PyObject* new_value); // Register/unregister a dict-watcher callback PyAPI_FUNC(int) PyDict_AddWatcher(PyDict_WatchCallback callback); PyAPI_FUNC(int) PyDict_ClearWatcher(int watcher_id); // Mark given dictionary as "watched" (callback will be called if it is modified) PyAPI_FUNC(int) PyDict_Watch(int watcher_id, PyObject* dict); PyAPI_FUNC(int) PyDict_Unwatch(int watcher_id, PyObject* dict);
Upload File
Create Folder