blob: 5f1b5290297cf766462fbb194579ced811bf8ddf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef H_RPMRNG_PY
#define H_RPMRNG_PY
#include "rpmio_internal.h"
/** \ingroup py_c
* \file python/rpmrng-py.h
*/
/**
*/
typedef struct rngObject_s {
PyObject_HEAD
PyObject *md_dict; /*!< to look like PyModuleObject */
randomGeneratorContext rngc;
} rngObject;
/**
*/
/*@unchecked@*/
extern PyTypeObject rng_Type;
#define is_rng(o) ((o)->ob_type == &rng_Type)
#endif
|