Back to index

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

Go to the source code of this file.

Classes

struct  PyGetSetDef
struct  wrapperbase
struct  PyDescrObject
struct  PyMethodDescrObject
struct  PyMemberDescrObject
struct  PyGetSetDescrObject
struct  PyWrapperDescrObject

Defines

#define PyWrapperFlag_KEYWORDS   1 /* wrapper function takes keyword args */
#define PyDescr_COMMON   PyDescrObject d_common
#define PyDescr_TYPE(x)   (((PyDescrObject *)(x))->d_type)
#define PyDescr_NAME(x)   (((PyDescrObject *)(x))->d_name)
#define PyDescr_IsData(d)   (Py_TYPE(d)->tp_descr_set != NULL)

Typedefs

typedef PyObject *(* getter )(PyObject *, void *)
typedef int(* setter )(PyObject *, PyObject *, void *)
typedef struct PyGetSetDef PyGetSetDef
typedef PyObject *(* wrapperfunc )(PyObject *self, PyObject *args, void *wrapped)
typedef PyObject *(* wrapperfunc_kwds )(PyObject *self, PyObject *args, void *wrapped, PyObject *kwds)

Functions

 PyAPI_DATA (PyTypeObject) PyClassMethodDescr_Type
 PyAPI_FUNC (PyObject *) PyDescr_NewMethod(PyTypeObject *

Class Documentation

struct PyGetSetDef

Definition at line 11 of file descrobject.h.

Collaboration diagram for PyGetSetDef:
Class Members
void * closure
char * doc
getter get
char * name
setter set
struct wrapperbase

Definition at line 26 of file descrobject.h.

Collaboration diagram for wrapperbase:
Class Members
char * doc
int flags
void * function
char * name
PyObject * name_strobj
int offset
wrapperfunc wrapper
struct PyDescrObject

Definition at line 41 of file descrobject.h.

Collaboration diagram for PyDescrObject:
Class Members
PyObject * d_name
PyObject_HEAD PyTypeObject * d_type
struct PyMethodDescrObject

Definition at line 52 of file descrobject.h.

Collaboration diagram for PyMethodDescrObject:
Class Members
PyMethodDef * d_method
PyDescr_COMMON
struct PyMemberDescrObject

Definition at line 57 of file descrobject.h.

Collaboration diagram for PyMemberDescrObject:
Class Members
struct PyMemberDef * d_member
PyDescr_COMMON
struct PyGetSetDescrObject

Definition at line 62 of file descrobject.h.

Collaboration diagram for PyGetSetDescrObject:
Class Members
PyGetSetDef * d_getset
PyDescr_COMMON
struct PyWrapperDescrObject

Definition at line 67 of file descrobject.h.

Collaboration diagram for PyWrapperDescrObject:
Class Members
struct wrapperbase * d_base
void * d_wrapped
PyDescr_COMMON

Define Documentation

#define PyDescr_COMMON   PyDescrObject d_common

Definition at line 47 of file descrobject.h.

#define PyDescr_IsData (   d)    (Py_TYPE(d)->tp_descr_set != NULL)

Definition at line 91 of file descrobject.h.

#define PyDescr_NAME (   x)    (((PyDescrObject *)(x))->d_name)

Definition at line 50 of file descrobject.h.

#define PyDescr_TYPE (   x)    (((PyDescrObject *)(x))->d_type)

Definition at line 49 of file descrobject.h.

#define PyWrapperFlag_KEYWORDS   1 /* wrapper function takes keyword args */

Definition at line 37 of file descrobject.h.


Typedef Documentation

typedef PyObject*(* getter)(PyObject *, void *)

Definition at line 8 of file descrobject.h.

typedef struct PyGetSetDef PyGetSetDef
typedef int(* setter)(PyObject *, PyObject *, void *)

Definition at line 9 of file descrobject.h.

typedef PyObject*(* wrapperfunc)(PyObject *self, PyObject *args, void *wrapped)

Definition at line 20 of file descrobject.h.

typedef PyObject*(* wrapperfunc_kwds)(PyObject *self, PyObject *args, void *wrapped, PyObject *kwds)

Definition at line 23 of file descrobject.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);
}