summaryrefslogtreecommitdiff
path: root/py/pykms/pykms.cpp
blob: e9266a4bf8962369be0bef4ca786bac5e562ab4e (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
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <kms++/kms++.h>

namespace py = pybind11;

using namespace kms;
using namespace std;

void init_pykmstest(py::module& m);
void init_pykmsbase(py::module& m);

#if HAS_LIBDRM_OMAP
void init_pykmsomap(py::module& m);
#endif

PYBIND11_MODULE(pykms, m)
{
	init_pykmsbase(m);

	init_pykmstest(m);

#if HAS_LIBDRM_OMAP
	init_pykmsomap(m);
#endif
}