summaryrefslogtreecommitdiff
path: root/python/spec-py.h
blob: 897b833bc015d7527befcfe277500ea80a3e591f (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
25
26
27
28
29
30
31
#ifndef RPMPYTHON_SPEC
#define RPMPYTHON_SPEC

#include <rpmbuild.h>

/** \ingroup py_c
 * \file python/spec-py.h
 */

typedef struct specObject_s {
    PyObject_HEAD
    /*type specific fields */
/*@null@*/
    Spec spec;
} specObject;

extern PyTypeObject spec_Type;

/**
 */
/*@null@*/
Spec specFromSpec(specObject * spec)
/*@*/;

/**
 */
/*@null@*/
specObject * spec_Wrap(Spec spec)
/*@*/;

#endif /* RPMPYTHON_SPEC */