/
opt
/
imh
/
python3.13
/
include
/
python3.13
/
cpython
/
/opt/imh/python3.13/include/python3.13/cpython
mkdir
upload
Name
Size
Mode
Actions
abstract.h
3399
0644
edit
dl
rm
bytearrayobject.h
1163
0644
edit
dl
rm
bytesobject.h
1180
0644
edit
dl
rm
cellobject.h
1076
0644
edit
dl
rm
ceval.h
1115
0644
edit
dl
rm
classobject.h
2245
0644
edit
dl
rm
code.h
15207
0644
edit
dl
rm
compile.h
2121
0644
edit
dl
rm
complexobject.h
909
0644
edit
dl
rm
context.h
1837
0644
edit
dl
rm
critical_section.h
5588
0644
edit
dl
rm
descrobject.h
1593
0644
edit
dl
rm
dictobject.h
3870
0644
edit
dl
rm
fileobject.h
652
0644
edit
dl
rm
fileutils.h
232
0644
edit
dl
rm
floatobject.h
900
0644
edit
dl
rm
frameobject.h
1199
0644
edit
dl
rm
funcobject.h
7049
0644
edit
dl
rm
genobject.h
2997
0644
edit
dl
rm
import.h
725
0644
edit
dl
rm
initconfig.h
8197
0644
edit
dl
rm
listobject.h
1801
0644
edit
dl
rm
lock.h
1763
0644
edit
dl
rm
longintrepr.h
5119
0644
edit
dl
rm
longobject.h
5583
0644
edit
dl
rm
memoryobject.h
2223
0644
edit
dl
rm
methodobject.h
2276
0644
edit
dl
rm
modsupport.h
1042
0644
edit
dl
rm
monitoring.h
7704
0644
edit
dl
rm
object.h
19074
0644
edit
dl
rm
objimpl.h
3820
0644
edit
dl
rm
odictobject.h
1311
0644
edit
dl
rm
picklebufobject.h
848
0644
edit
dl
rm
pthread_stubs.h
3926
0644
edit
dl
rm
pyatomic.h
16506
0644
edit
dl
rm
pyatomic_gcc.h
19131
0644
edit
dl
rm
pyatomic_msc.h
29241
0644
edit
dl
rm
pyatomic_std.h
24336
0644
edit
dl
rm
pyctype.h
1387
0644
edit
dl
rm
pydebug.h
1413
0644
edit
dl
rm
pyerrors.h
2908
0644
edit
dl
rm
pyfpe.h
444
0644
edit
dl
rm
pyframe.h
1947
0644
edit
dl
rm
pyhash.h
1382
0644
edit
dl
rm
pylifecycle.h
2817
0644
edit
dl
rm
pymem.h
2843
0644
edit
dl
rm
pystate.h
9465
0644
edit
dl
rm
pystats.h
5434
0644
edit
dl
rm
pythonrun.h
4327
0644
edit
dl
rm
pythread.h
1510
0644
edit
dl
rm
pytime.h
707
0644
edit
dl
rm
setobject.h
2046
0644
edit
dl
rm
sysmodule.h
775
0644
edit
dl
rm
traceback.h
282
0644
edit
dl
rm
tracemalloc.h
823
0644
edit
dl
rm
tupleobject.h
1329
0644
edit
dl
rm
unicodeobject.h
25074
0644
edit
dl
rm
warnings.h
695
0644
edit
dl
rm
weakrefobject.h
2249
0644
edit
dl
rm
Edit:
/opt/imh/python3.13/include/python3.13/cpython/methodobject.h
(2276B)
#ifndef Py_CPYTHON_METHODOBJECT_H # error "this header file must not be included directly" #endif // PyCFunctionObject structure typedef struct { PyObject_HEAD PyMethodDef *m_ml; /* Description of the C function to call */ PyObject *m_self; /* Passed as 'self' arg to the C func, can be NULL */ PyObject *m_module; /* The __module__ attribute, can be anything */ PyObject *m_weakreflist; /* List of weak references */ vectorcallfunc vectorcall; } PyCFunctionObject; #define _PyCFunctionObject_CAST(func) \ (assert(PyCFunction_Check(func)), \ _Py_CAST(PyCFunctionObject*, (func))) // PyCMethodObject structure typedef struct { PyCFunctionObject func; PyTypeObject *mm_class; /* Class that defines this method */ } PyCMethodObject; #define _PyCMethodObject_CAST(func) \ (assert(PyCMethod_Check(func)), \ _Py_CAST(PyCMethodObject*, (func))) PyAPI_DATA(PyTypeObject) PyCMethod_Type; #define PyCMethod_CheckExact(op) Py_IS_TYPE((op), &PyCMethod_Type) #define PyCMethod_Check(op) PyObject_TypeCheck((op), &PyCMethod_Type) /* Static inline functions for direct access to these values. Type checks are *not* done, so use with care. */ static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) { return _PyCFunctionObject_CAST(func)->m_ml->ml_meth; } #define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func)) static inline PyObject* PyCFunction_GET_SELF(PyObject *func_obj) { PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); if (func->m_ml->ml_flags & METH_STATIC) { return _Py_NULL; } return func->m_self; } #define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func)) static inline int PyCFunction_GET_FLAGS(PyObject *func) { return _PyCFunctionObject_CAST(func)->m_ml->ml_flags; } #define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func)) static inline PyTypeObject* PyCFunction_GET_CLASS(PyObject *func_obj) { PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); if (func->m_ml->ml_flags & METH_METHOD) { return _PyCMethodObject_CAST(func)->mm_class; } return _Py_NULL; } #define PyCFunction_GET_CLASS(func) PyCFunction_GET_CLASS(_PyObject_CAST(func))
Save
cmd:
run