python.cpp 352 B

1234567891011121314151617
  1. #include "python.h"
  2. #include <sstream>
  3. #include <string>
  4. #include <fstream>
  5. extern void python_export_vector(py::module &);
  6. extern void python_export_igl(py::module &);
  7. PYTHON_PLUGIN(igl) {
  8. py::init_threading();
  9. py::module m("igl", "Python wrappers for libigl");
  10. python_export_vector(m);
  11. python_export_igl(m);
  12. return m.ptr();
  13. }