X7ROOT File Manager
Current Path:
/opt/alt/python310/include/python3.10/cpython
opt
/
alt
/
python310
/
include
/
python3.10
/
cpython
/
ðŸ“
..
📄
abstract.h
(13.72 KB)
📄
bytearrayobject.h
(769 B)
📄
bytesobject.h
(4.02 KB)
📄
ceval.h
(1.43 KB)
📄
code.h
(7.39 KB)
📄
compile.h
(2.17 KB)
📄
dictobject.h
(3.65 KB)
📄
fileobject.h
(723 B)
📄
fileutils.h
(4.17 KB)
📄
frameobject.h
(3.08 KB)
📄
import.h
(1.59 KB)
📄
initconfig.h
(7.42 KB)
📄
interpreteridobject.h
(387 B)
📄
listobject.h
(1.21 KB)
📄
methodobject.h
(1.37 KB)
📄
object.h
(19.15 KB)
📄
objimpl.h
(3.28 KB)
📄
odictobject.h
(1.27 KB)
📄
picklebufobject.h
(846 B)
📄
pyctype.h
(1.35 KB)
📄
pydebug.h
(1.07 KB)
📄
pyerrors.h
(5.35 KB)
📄
pyfpe.h
(444 B)
📄
pylifecycle.h
(2.05 KB)
📄
pymem.h
(3.3 KB)
📄
pystate.h
(11.63 KB)
📄
pythonrun.h
(4.7 KB)
📄
pytime.h
(8.98 KB)
📄
sysmodule.h
(506 B)
📄
traceback.h
(404 B)
📄
tupleobject.h
(975 B)
📄
unicodeobject.h
(43.25 KB)
Editing: methodobject.h
#ifndef Py_CPYTHON_METHODOBJECT_H # error "this header file must not be included directly" #endif PyAPI_DATA(PyTypeObject) PyCMethod_Type; #define PyCMethod_CheckExact(op) Py_IS_TYPE(op, &PyCMethod_Type) #define PyCMethod_Check(op) PyObject_TypeCheck(op, &PyCMethod_Type) /* Macros for direct access to these values. Type checks are *not* done, so use with care. */ #define PyCFunction_GET_FUNCTION(func) \ (((PyCFunctionObject *)func) -> m_ml -> ml_meth) #define PyCFunction_GET_SELF(func) \ (((PyCFunctionObject *)func) -> m_ml -> ml_flags & METH_STATIC ? \ NULL : ((PyCFunctionObject *)func) -> m_self) #define PyCFunction_GET_FLAGS(func) \ (((PyCFunctionObject *)func) -> m_ml -> ml_flags) #define PyCFunction_GET_CLASS(func) \ (((PyCFunctionObject *)func) -> m_ml -> ml_flags & METH_METHOD ? \ ((PyCMethodObject *)func) -> mm_class : NULL) 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; typedef struct { PyCFunctionObject func; PyTypeObject *mm_class; /* Class that defines this method */ } PyCMethodObject;
Upload File
Create Folder