Back to index

python3.2  3.2.2
Classes | Defines | Typedefs | Functions | Variables
weakrefobject.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  _PyWeakReference


#define PyWeakref_CheckRef(op)   PyObject_TypeCheck(op, &_PyWeakref_RefType)
#define PyWeakref_CheckRefExact(op)   (Py_TYPE(op) == &_PyWeakref_RefType)
#define PyWeakref_CheckProxy(op)
#define PyWeakref_Check(op)   (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
#define PyWeakref_GET_OBJECT(ref)   (((PyWeakReference *)(ref))->wr_object)


typedef struct _PyWeakReference


 PyAPI_DATA (PyTypeObject) _PyWeakref_RefType
 PyAPI_FUNC (PyObject *) PyWeakref_NewRef(PyObject *ob
 PyAPI_FUNC (Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head)
 PyAPI_FUNC (void) _PyWeakref_ClearRef(PyWeakReference *self)



Class Documentation

struct _PyWeakReference

Definition at line 16 of file weakrefobject.h.

Collaboration diagram for _PyWeakReference:
Class Members
Py_hash_t hash
PyObject * wr_callback
PyWeakReference * wr_next
PyObject_HEAD PyObject * wr_object
PyWeakReference * wr_prev

Define Documentation

Definition at line 57 of file weakrefobject.h.

#define PyWeakref_CheckProxy (   op)

Definition at line 50 of file weakrefobject.h.

Definition at line 47 of file weakrefobject.h.

Definition at line 48 of file weakrefobject.h.

#define PyWeakref_GET_OBJECT (   ref)    (((PyWeakReference *)(ref))->wr_object)

Definition at line 73 of file weakrefobject.h.

Typedef Documentation

typedef struct _PyWeakReference

Definition at line 10 of file weakrefobject.h.

Function Documentation

PyAPI_FUNC ( PyObject ) [read]

Definition at line 2431 of file pythonrun.c.

    return PyRun_FileExFlags(fp, p, s, g, l, c, NULL);

Here is the call graph for this function:

PyAPI_FUNC ( Py_ssize_t  ) [read]

Definition at line 2410 of file pythonrun.c.

Here is the call graph for this function:

Definition at line 1904 of file object.c.

Variable Documentation

Definition at line 62 of file weakrefobject.h.