/opt/alt/python37/include/python3.7m
/* Former class object interface -- now only bound methods are here */ /* Revealing some structures (not for general use) */ #ifndef Py_LIMITED_API #ifndef Py_CLASSOBJECT_H #define Py_CLASSOBJECT_H #ifdef __cplusplus extern "C" { #endif typedef struct { PyObject_HEAD PyObject *im_func; /* The callable object implementing the method */ PyObject *im_self; /* The instance it is bound to */ PyObject *im_weakreflist; /* List of weak references */ } PyMethodObject; PyAPI_DATA(PyTypeObject) PyMethod_Type; #define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type) PyAPI_FUNC(PyObject *) PyMethod_New(PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyMethod_Function(PyObject *); PyAPI_FUNC(PyObject *) PyMethod_Self(PyObject *); /* Macros for direct access to these values. Type checks are *not* done, so use with care. */ #define PyMethod_GET_FUNCTION(meth) \ (((PyMethodObject *)meth) -> im_func) #define PyMethod_GET_SELF(meth) \ (((PyMethodObject *)meth) -> im_self) PyAPI_FUNC(int) PyMethod_ClearFreeList(void); typedef struct { PyObject_HEAD PyObject *func; } PyInstanceMethodObject; PyAPI_DATA(PyTypeObject) PyInstanceMethod_Type; #define PyInstanceMethod_Check(op) ((op)->ob_type == &PyInstanceMethod_Type) PyAPI_FUNC(PyObject *) PyInstanceMethod_New(PyObject *); PyAPI_FUNC(PyObject *) PyInstanceMethod_Function(PyObject *); /* Macros for direct access to these values. Type checks are *not* done, so use with care. */ #define PyInstanceMethod_GET_FUNCTION(meth) \ (((PyInstanceMethodObject *)meth) -> func) #ifdef __cplusplus } #endif #endif /* !Py_CLASSOBJECT_H */ #endif /* Py_LIMITED_API */
.
Edit
..
Edit
Python-ast.h
Edit
Python.h
Edit
abstract.h
Edit
accu.h
Edit
asdl.h
Edit
ast.h
Edit
bitset.h
Edit
bltinmodule.h
Edit
boolobject.h
Edit
bytearrayobject.h
Edit
bytes_methods.h
Edit
bytesobject.h
Edit
cellobject.h
Edit
ceval.h
Edit
classobject.h
Edit
code.h
Edit
codecs.h
Edit
compile.h
Edit
complexobject.h
Edit
context.h
Edit
datetime.h
Edit
descrobject.h
Edit
dictobject.h
Edit
dtoa.h
Edit
dynamic_annotations.h
Edit
enumobject.h
Edit
errcode.h
Edit
eval.h
Edit
fileobject.h
Edit
fileutils.h
Edit
floatobject.h
Edit
frameobject.h
Edit
funcobject.h
Edit
genobject.h
Edit
graminit.h
Edit
grammar.h
Edit
import.h
Edit
internal
Edit
intrcheck.h
Edit
iterobject.h
Edit
listobject.h
Edit
longintrepr.h
Edit
longobject.h
Edit
marshal.h
Edit
memoryobject.h
Edit
metagrammar.h
Edit
methodobject.h
Edit
modsupport.h
Edit
moduleobject.h
Edit
namespaceobject.h
Edit
node.h
Edit
object.h
Edit
objimpl.h
Edit
odictobject.h
Edit
opcode.h
Edit
osdefs.h
Edit
osmodule.h
Edit
parsetok.h
Edit
patchlevel.h
Edit
pgen.h
Edit
pgenheaders.h
Edit
py_curses.h
Edit
pyarena.h
Edit
pyatomic.h
Edit
pycapsule.h
Edit
pyconfig-64.h
Edit
pyconfig.h
Edit
pyctype.h
Edit
pydebug.h
Edit
pydtrace.h
Edit
pyerrors.h
Edit
pyexpat.h
Edit
pyfpe.h
Edit
pyhash.h
Edit
pylifecycle.h
Edit
pymacconfig.h
Edit
pymacro.h
Edit
pymath.h
Edit
pymem.h
Edit
pyport.h
Edit
pystate.h
Edit
pystrcmp.h
Edit
pystrhex.h
Edit
pystrtod.h
Edit
pythonrun.h
Edit
pythread.h
Edit
pytime.h
Edit
rangeobject.h
Edit
setobject.h
Edit
sliceobject.h
Edit
structmember.h
Edit
structseq.h
Edit
symtable.h
Edit
sysmodule.h
Edit
token.h
Edit
traceback.h
Edit
tupleobject.h
Edit
typeslots.h
Edit
ucnhash.h
Edit
unicodeobject.h
Edit
warnings.h
Edit
weakrefobject.h
Edit