summaryrefslogtreecommitdiff
path: root/python/spec-py.h
blob: d6909839964a898f18ac6350af530bd5db656b9e (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
#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 */
    rpmSpec spec;
} specObject;

extern PyTypeObject spec_Type;

/**
 */
rpmSpec specFromSpec(specObject * spec);

/**
 */
specObject * spec_Wrap(rpmSpec spec);

#endif /* RPMPYTHON_SPEC */