blob: 1e54c9bb4501d4732d37092bcf4f12fc2448d62d (
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
|
#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);
void init_pyvid(py::module &m);
#if HAS_LIBDRM_OMAP
void init_pykmsomap(py::module &m);
#endif
PYBIND11_PLUGIN(pykms) {
py::module m("pykms", "kms bindings");
init_pykmsbase(m);
init_pykmstest(m);
init_pyvid(m);
#if HAS_LIBDRM_OMAP
init_pykmsomap(m);
#endif
return m.ptr();
}
|