diff options
author | jbj <devnull@localhost> | 2003-05-01 08:09:16 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2003-05-01 08:09:16 +0000 |
commit | 31e269224f4a3beabbdac86182d6ed9a44657253 (patch) | |
tree | 69916a4c05825b0c954b58c3baff85f7267b0599 /python/rpmmpw-py.h | |
parent | d13b4600f400d208873ac9c8c325ceebc2f3a257 (diff) | |
download | rpm-31e269224f4a3beabbdac86182d6ed9a44657253.tar.gz rpm-31e269224f4a3beabbdac86182d6ed9a44657253.tar.bz2 rpm-31e269224f4a3beabbdac86182d6ed9a44657253.zip |
fix typo in system.h.
python: bindings for returning mpw's from random number generator.
CVS patchset: 6800
CVS date: 2003/05/01 08:09:16
Diffstat (limited to 'python/rpmmpw-py.h')
-rw-r--r-- | python/rpmmpw-py.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/rpmmpw-py.h b/python/rpmmpw-py.h index a7c024c8b..44bdb8e05 100644 --- a/python/rpmmpw-py.h +++ b/python/rpmmpw-py.h @@ -20,4 +20,11 @@ typedef struct mpwObject_s { /*@unchecked@*/ extern PyTypeObject mpw_Type; +#define is_mpw(o) ((o)->ob_type == &mpw_Type) + +/** + */ +mpwObject * mpw_New(void) + /*@*/; + #endif |