blob: 800fb9f832d1f03bd3c8bf12f892ff01e79a10c6 [file] [log] [blame]
Wenzel Jakob38bd7112015-07-05 20:05:44 +02001/*
2 example/example.cpp -- pybind example plugin
3
4 Copyright (c) 2015 Wenzel Jakob <wenzel@inf.ethz.ch>
5
6 All rights reserved. Use of this source code is governed by a
7 BSD-style license that can be found in the LICENSE file.
8*/
9
10#include "example.h"
11
12void init_ex1(py::module &);
13void init_ex2(py::module &);
14void init_ex3(py::module &);
15void init_ex4(py::module &);
16void init_ex5(py::module &);
17void init_ex6(py::module &);
18void init_ex7(py::module &);
19void init_ex8(py::module &);
20void init_ex9(py::module &);
21
22PYTHON_PLUGIN(example) {
23 py::module m("example", "pybind example plugin");
24
25 init_ex1(m);
26 init_ex2(m);
27 init_ex3(m);
28 init_ex4(m);
29 init_ex5(m);
30 init_ex6(m);
31 init_ex7(m);
32 init_ex8(m);
33 init_ex9(m);
34
35 return m.ptr();
36}