/opt/alt/python312/include/python3.12/cpython
#ifndef Py_CPYTHON_DESCROBJECT_H # error "this header file must not be included directly" #endif typedef PyObject *(*wrapperfunc)(PyObject *self, PyObject *args, void *wrapped); typedef PyObject *(*wrapperfunc_kwds)(PyObject *self, PyObject *args, void *wrapped, PyObject *kwds); struct wrapperbase { const char *name; int offset; void *function; wrapperfunc wrapper; const char *doc; int flags; PyObject *name_strobj; }; /* Flags for above struct */ #define PyWrapperFlag_KEYWORDS 1 /* wrapper function takes keyword args */ /* Various kinds of descriptor objects */ typedef struct { PyObject_HEAD PyTypeObject *d_type; PyObject *d_name; PyObject *d_qualname; } PyDescrObject; #define PyDescr_COMMON PyDescrObject d_common #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type) #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name) typedef struct { PyDescr_COMMON; PyMethodDef *d_method; vectorcallfunc vectorcall; } PyMethodDescrObject; typedef struct { PyDescr_COMMON; PyMemberDef *d_member; } PyMemberDescrObject; typedef struct { PyDescr_COMMON; PyGetSetDef *d_getset; } PyGetSetDescrObject; typedef struct { PyDescr_COMMON; struct wrapperbase *d_base; void *d_wrapped; /* This can be any function pointer */ } PyWrapperDescrObject; PyAPI_DATA(PyTypeObject) _PyMethodWrapper_Type; PyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *, struct wrapperbase *, void *); PyAPI_FUNC(int) PyDescr_IsData(PyObject *);
.
Edit
..
Edit
abstract.h
Edit
bytearrayobject.h
Edit
bytesobject.h
Edit
cellobject.h
Edit
ceval.h
Edit
classobject.h
Edit
code.h
Edit
compile.h
Edit
complexobject.h
Edit
context.h
Edit
descrobject.h
Edit
dictobject.h
Edit
fileobject.h
Edit
fileutils.h
Edit
floatobject.h
Edit
frameobject.h
Edit
funcobject.h
Edit
genobject.h
Edit
import.h
Edit
initconfig.h
Edit
interpreteridobject.h
Edit
listobject.h
Edit
longintrepr.h
Edit
longobject.h
Edit
memoryobject.h
Edit
methodobject.h
Edit
modsupport.h
Edit
object.h
Edit
objimpl.h
Edit
odictobject.h
Edit
picklebufobject.h
Edit
pthread_stubs.h
Edit
pyctype.h
Edit
pydebug.h
Edit
pyerrors.h
Edit
pyfpe.h
Edit
pyframe.h
Edit
pylifecycle.h
Edit
pymem.h
Edit
pystate.h
Edit
pythonrun.h
Edit
pythread.h
Edit
pytime.h
Edit
setobject.h
Edit
sysmodule.h
Edit
traceback.h
Edit
tupleobject.h
Edit
unicodeobject.h
Edit
warnings.h
Edit
weakrefobject.h
Edit