diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-10-23 11:04:31 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-10-23 11:04:31 +0300 |
commit | 2f40e205403bf39549b3406836b0bde981096904 (patch) | |
tree | 10bfa1fd6d3eedb83626edd19d7edd6292d4a34f /python | |
parent | 9832bc53308ed84b7cbcc4100ed13c345b0846ff (diff) | |
download | rpm-2f40e205403bf39549b3406836b0bde981096904.tar.gz rpm-2f40e205403bf39549b3406836b0bde981096904.tar.bz2 rpm-2f40e205403bf39549b3406836b0bde981096904.zip |
Remove unused python header stubs
Diffstat (limited to 'python')
-rw-r--r-- | python/rpmbc-py.h | 21 | ||||
-rw-r--r-- | python/rpmmpw-py.h | 38 |
2 files changed, 0 insertions, 59 deletions
diff --git a/python/rpmbc-py.h b/python/rpmbc-py.h deleted file mode 100644 index b0d1c384b..000000000 --- a/python/rpmbc-py.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef H_RPMBC_PY -#define H_RPMBC_PY - -#include "rpmio_internal.h" - -/** \ingroup py_c - * \file python/rpmbc-py.h - */ - -/** - */ -typedef struct rpmbcObject_s { - PyObject_HEAD - PyObject *md_dict; /*!< to look like PyModuleObject */ -} rpmbcObject; - -/** - */ -extern PyTypeObject rpmbc_Type; - -#endif diff --git a/python/rpmmpw-py.h b/python/rpmmpw-py.h deleted file mode 100644 index 4d43fbd0c..000000000 --- a/python/rpmmpw-py.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef H_RPMMPW_PY -#define H_RPMMPW_PY - -#include "rpmio_internal.h" - -/** \ingroup py_c - * \file python/rpmmpw-py.h - */ - -/** - */ -typedef struct mpwObject_s { - PyObject_HEAD - int ob_size; - mpw data[1]; -} mpwObject; - -/** - */ -extern PyTypeObject mpw_Type; - -#define mpw_Check(_o) PyObject_TypeCheck((_o), &mpw_Type) -#define mpw_CheckExact(_o) ((_o)->ob_type == &mpw_Type) - -#define MP_ROUND_B2W(_b) MP_BITS_TO_WORDS((_b) + MP_WBITS - 1) - -#define MPW_SIZE(_a) (size_t)((_a)->ob_size < 0 ? -(_a)->ob_size : (_a)->ob_size) -#define MPW_DATA(_a) ((_a)->data) - -/** - */ -mpwObject * mpw_New(int ob_size); - -/** - */ -mpwObject * mpw_FromMPW(size_t size, mpw* data, int normalize); - -#endif |