Functions | |
static int | enum_clear (zbarEnum *self) |
static void | enum_dealloc (zbarEnum *self) |
static int | enum_traverse (zbarEnum *self, visitproc visit, void *arg) |
static void | enumitem_dealloc (zbarEnumItem *self) |
static zbarEnumItem * | enumitem_new (PyTypeObject *type, PyObject *args, PyObject *kwds) |
static int | enumitem_print (zbarEnumItem *self, FILE *fp, int flags) |
static PyObject * | enumitem_repr (zbarEnumItem *self) |
static PyObject * | enumitem_str (zbarEnumItem *self) |
int | zbarEnum_Add (zbarEnum *self, int val, const char *name) |
zbarEnum * | zbarEnum_New () |
zbarEnumItem * | zbarEnumItem_New (PyObject *byname, PyObject *byvalue, int val, const char *name) |
Variables | |
static char | enum_doc [] |
static char | enumitem_doc [] |
PyTypeObject | zbarEnum_Type |
PyTypeObject | zbarEnumItem_Type |
|
static |
|
static |
|
static |
References name, and zbarEnumItem::val.
|
static |
|
static |
References name.
|
static |
int zbarEnum_Add | ( | zbarEnum * | self, |
int | val, | ||
const char * | name | ||
) |
References zbarEnumItem_New().
Referenced by initzbar().
zbarEnumItem* zbarEnumItem_New | ( | PyObject * | byname, |
PyObject * | byvalue, | ||
int | val, | ||
const char * | name | ||
) |
References zbarEnumItem_Type.
Referenced by initzbar(), and zbarEnum_Add().
|
static |
|
static |
PyTypeObject zbarEnum_Type |
Referenced by initzbar(), and zbarEnum_New().
PyTypeObject zbarEnumItem_Type |
Referenced by initzbar(), and zbarEnumItem_New().