/opt/alt/python37/include/python3.7m
NameSizeModeActions
internal/-0755rm
abstract.h407980644editdlrm
accu.h10160644editdlrm
asdl.h12130644editdlrm
ast.h6410644editdlrm
bitset.h8100644editdlrm
bltinmodule.h2640644editdlrm
boolobject.h8860644editdlrm
bytearrayobject.h21140644editdlrm
bytesobject.h84930644editdlrm
bytes_methods.h33010644editdlrm
cellobject.h7130644editdlrm
ceval.h87170644editdlrm
classobject.h16790644editdlrm
code.h60650644editdlrm
codecs.h67930644editdlrm
compile.h29460644editdlrm
complexobject.h18070644editdlrm
context.h20140644editdlrm
datetime.h98480644editdlrm
descrobject.h31350644editdlrm
dictobject.h73230644editdlrm
dtoa.h4580644editdlrm
dynamic_annotations.h224690644editdlrm
enumobject.h2530644editdlrm
errcode.h16950644editdlrm
eval.h12090644editdlrm
fileobject.h18110644editdlrm
fileutils.h45340644editdlrm
floatobject.h47940644editdlrm
frameobject.h33180644editdlrm
funcobject.h41780644editdlrm
genobject.h36460644editdlrm
graminit.h19920644editdlrm
grammar.h23190644editdlrm
import.h49770644editdlrm
intrcheck.h8610644editdlrm
iterobject.h5670644editdlrm
listobject.h29270644editdlrm
longintrepr.h37990644editdlrm
longobject.h85940644editdlrm
marshal.h8030644editdlrm
memoryobject.h27650644editdlrm
metagrammar.h2530644editdlrm
methodobject.h45190644editdlrm
modsupport.h85590644editdlrm
moduleobject.h23040644editdlrm
namespaceobject.h3490644editdlrm
node.h11130644editdlrm
object.h418420644editdlrm
objimpl.h144740644editdlrm
odictobject.h12800644editdlrm
opcode.h51090644editdlrm
osdefs.h6910644editdlrm
osmodule.h2910644editdlrm
parsetok.h29050644editdlrm
patchlevel.h12990644editdlrm
pgen.h2530644editdlrm
pgenheaders.h12220644editdlrm
pyarena.h27440644editdlrm
pyatomic.h161210644editdlrm
pycapsule.h17260644editdlrm
pyconfig-64.h453540644editdlrm
pyconfig.h1620644editdlrm
pyctype.h13200644editdlrm
pydebug.h12140644editdlrm
pydtrace.h22850644editdlrm
pyerrors.h173690644editdlrm
pyexpat.h24500644editdlrm
pyfpe.h3410644editdlrm
pyhash.h41390644editdlrm
pylifecycle.h77800644editdlrm
pymacconfig.h29890644editdlrm
pymacro.h35350644editdlrm
pymath.h83120644editdlrm
pymem.h89930644editdlrm
pyport.h282350644editdlrm
pystate.h163240644editdlrm
pystrcmp.h4360644editdlrm
pystrhex.h4950644editdlrm
pystrtod.h14830644editdlrm
Python-ast.h218020644editdlrm
Python.h35540644editdlrm
pythonrun.h62040644editdlrm
pythread.h53320644editdlrm
pytime.h89260644editdlrm
py_curses.h40620644editdlrm
rangeobject.h6290644editdlrm
setobject.h33620644editdlrm
sliceobject.h24800644editdlrm
structmember.h20300644editdlrm
structseq.h13770644editdlrm
symtable.h49280644editdlrm
sysmodule.h15110644editdlrm
token.h24800644editdlrm
traceback.h36440644editdlrm
tupleobject.h24710644editdlrm
typeslots.h22530644editdlrm
ucnhash.h10560644editdlrm
unicodeobject.h822780644editdlrm
warnings.h17760644editdlrm
weakrefobject.h28660644editdlrm
Edit: /opt/alt/python37/include/python3.7m/methodobject.h (4519B)
/* Method object interface */ #ifndef Py_METHODOBJECT_H #define Py_METHODOBJECT_H #ifdef __cplusplus extern "C" { #endif /* This is about the type 'builtin_function_or_method', not Python methods in user-defined classes. See classobject.h for the latter. */ PyAPI_DATA(PyTypeObject) PyCFunction_Type; #define PyCFunction_Check(op) (Py_TYPE(op) == &PyCFunction_Type) typedef PyObject *(*PyCFunction)(PyObject *, PyObject *); typedef PyObject *(*_PyCFunctionFast) (PyObject *, PyObject *const *, Py_ssize_t); typedef PyObject *(*PyCFunctionWithKeywords)(PyObject *, PyObject *, PyObject *); typedef PyObject *(*_PyCFunctionFastWithKeywords) (PyObject *, PyObject *const *, Py_ssize_t, PyObject *); typedef PyObject *(*PyNoArgsFunction)(PyObject *); PyAPI_FUNC(PyCFunction) PyCFunction_GetFunction(PyObject *); PyAPI_FUNC(PyObject *) PyCFunction_GetSelf(PyObject *); PyAPI_FUNC(int) PyCFunction_GetFlags(PyObject *); /* Macros for direct access to these values. Type checks are *not* done, so use with care. */ #ifndef Py_LIMITED_API #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) #endif PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PyCFunction_FastCallDict(PyObject *func, PyObject *const *args, Py_ssize_t nargs, PyObject *kwargs); PyAPI_FUNC(PyObject *) _PyCFunction_FastCallKeywords(PyObject *func, PyObject *const *stack, Py_ssize_t nargs, PyObject *kwnames); #endif struct PyMethodDef { const char *ml_name; /* The name of the built-in function/method */ PyCFunction ml_meth; /* The C function that implements it */ int ml_flags; /* Combination of METH_xxx flags, which mostly describe the args expected by the C func */ const char *ml_doc; /* The __doc__ attribute, or NULL */ }; typedef struct PyMethodDef PyMethodDef; #define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, PyObject *); /* Flag passed to newmethodobject */ /* #define METH_OLDARGS 0x0000 -- unsupported now */ #define METH_VARARGS 0x0001 #define METH_KEYWORDS 0x0002 /* METH_NOARGS and METH_O must not be combined with the flags above. */ #define METH_NOARGS 0x0004 #define METH_O 0x0008 /* METH_CLASS and METH_STATIC are a little different; these control the construction of methods for a class. These cannot be used for functions in modules. */ #define METH_CLASS 0x0010 #define METH_STATIC 0x0020 /* METH_COEXIST allows a method to be entered even though a slot has already filled the entry. When defined, the flag allows a separate method, "__contains__" for example, to coexist with a defined slot like sq_contains. */ #define METH_COEXIST 0x0040 #ifndef Py_LIMITED_API #define METH_FASTCALL 0x0080 #endif /* This bit is preserved for Stackless Python */ #ifdef STACKLESS #define METH_STACKLESS 0x0100 #else #define METH_STACKLESS 0x0000 #endif #ifndef Py_LIMITED_API 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 */ } PyCFunctionObject; PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallDict( PyMethodDef *method, PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwargs); PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallKeywords( PyMethodDef *method, PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames); #endif PyAPI_FUNC(int) PyCFunction_ClearFreeList(void); #ifndef Py_LIMITED_API PyAPI_FUNC(void) _PyCFunction_DebugMallocStats(FILE *out); PyAPI_FUNC(void) _PyMethod_DebugMallocStats(FILE *out); #endif #ifdef __cplusplus } #endif #endif /* !Py_METHODOBJECT_H */