2015-07-05 18:05:44 +00:00
|
|
|
/*
|
|
|
|
example/example.cpp -- pybind example plugin
|
|
|
|
|
2016-04-17 18:21:41 +00:00
|
|
|
Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>
|
2015-07-05 18:05:44 +00:00
|
|
|
|
|
|
|
All rights reserved. Use of this source code is governed by a
|
|
|
|
BSD-style license that can be found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "example.h"
|
|
|
|
|
|
|
|
void init_ex1(py::module &);
|
|
|
|
void init_ex2(py::module &);
|
|
|
|
void init_ex3(py::module &);
|
|
|
|
void init_ex4(py::module &);
|
|
|
|
void init_ex5(py::module &);
|
|
|
|
void init_ex6(py::module &);
|
|
|
|
void init_ex7(py::module &);
|
|
|
|
void init_ex8(py::module &);
|
|
|
|
void init_ex9(py::module &);
|
2015-07-26 14:33:49 +00:00
|
|
|
void init_ex10(py::module &);
|
2015-07-29 15:51:54 +00:00
|
|
|
void init_ex11(py::module &);
|
2015-10-01 14:46:03 +00:00
|
|
|
void init_ex12(py::module &);
|
2016-01-17 21:36:39 +00:00
|
|
|
void init_ex13(py::module &);
|
2016-03-15 14:05:40 +00:00
|
|
|
void init_ex14(py::module &);
|
2016-04-13 00:37:36 +00:00
|
|
|
void init_ex15(py::module &);
|
2016-04-13 11:45:09 +00:00
|
|
|
void init_ex16(py::module &);
|
2016-03-10 12:24:10 +00:00
|
|
|
void init_issues(py::module &);
|
2015-07-05 18:05:44 +00:00
|
|
|
|
2015-10-18 14:48:30 +00:00
|
|
|
PYBIND11_PLUGIN(example) {
|
2015-07-05 18:05:44 +00:00
|
|
|
py::module m("example", "pybind example plugin");
|
|
|
|
|
|
|
|
init_ex1(m);
|
|
|
|
init_ex2(m);
|
|
|
|
init_ex3(m);
|
|
|
|
init_ex4(m);
|
|
|
|
init_ex5(m);
|
|
|
|
init_ex6(m);
|
|
|
|
init_ex7(m);
|
|
|
|
init_ex8(m);
|
|
|
|
init_ex9(m);
|
2015-07-26 14:33:49 +00:00
|
|
|
init_ex10(m);
|
2015-07-29 15:51:54 +00:00
|
|
|
init_ex11(m);
|
2015-10-01 14:46:03 +00:00
|
|
|
init_ex12(m);
|
2016-01-17 21:36:39 +00:00
|
|
|
init_ex13(m);
|
2016-03-15 14:05:40 +00:00
|
|
|
init_ex14(m);
|
2016-04-13 00:37:36 +00:00
|
|
|
init_ex15(m);
|
2016-04-13 11:45:09 +00:00
|
|
|
init_ex16(m);
|
2016-03-10 12:24:10 +00:00
|
|
|
init_issues(m);
|
2015-07-05 18:05:44 +00:00
|
|
|
|
|
|
|
return m.ptr();
|
|
|
|
}
|