weakrefobject.h File Reference

Classes

struct  _PyWeakReference
 

Macros

#define PyWeakref_CheckRef(op)
 
#define PyWeakref_CheckRefExact(op)
 
#define PyWeakref_CheckProxy(op)
 
#define PyWeakref_Check(op)
 
#define PyWeakref_GET_OBJECT(ref)
 

Typedefs

typedef struct _PyWeakReference PyWeakReference
 

Functions

 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)
 

Variables

PyObjectcallback
 

Macro Definition Documentation

◆ PyWeakref_CheckRef

#define PyWeakref_CheckRef (   op)

◆ PyWeakref_CheckRefExact

#define PyWeakref_CheckRefExact (   op)

◆ PyWeakref_CheckProxy

#define PyWeakref_CheckProxy (   op)

◆ PyWeakref_Check

#define PyWeakref_Check (   op)

◆ PyWeakref_GET_OBJECT

#define PyWeakref_GET_OBJECT (   ref)

Typedef Documentation

◆ PyWeakReference

Function Documentation

◆ PyAPI_DATA()

PyAPI_DATA ( PyTypeObject  )

◆ PyAPI_FUNC() [1/3]

PyAPI_FUNC ( PyObject )

◆ PyAPI_FUNC() [2/3]

PyAPI_FUNC ( Py_ssize_t  )

◆ PyAPI_FUNC() [3/3]

PyAPI_FUNC ( void  )

Variable Documentation

◆ callback

PyObject * callback