1 | /******************************************************************************* |
---|---|
2 | Copyright (c) The Taichi Authors (2016- ). All Rights Reserved. |
3 | The use of this software is governed by the LICENSE file. |
4 | *******************************************************************************/ |
5 | |
6 | #include "taichi/python/export.h" |
7 | #include "taichi/common/interface.h" |
8 | #include "taichi/util/io.h" |
9 | |
10 | namespace taichi { |
11 | |
12 | PYBIND11_MODULE(taichi_python, m) { |
13 | m.doc() = "taichi_python"; |
14 | |
15 | for (auto &kv : InterfaceHolder::get_instance()->methods) { |
16 | kv.second(&m); |
17 | } |
18 | |
19 | export_lang(m); |
20 | export_math(m); |
21 | export_misc(m); |
22 | export_visual(m); |
23 | export_ggui(m); |
24 | } |
25 | |
26 | } // namespace taichi |
27 |