first attempt at python wrappers

Former-commit-id: 5a7d59e1eb
This commit is contained in:
Daniele Panozzo
2015-08-21 18:19:15 +02:00
parent 955436a021
commit 73d1e34462
9 changed files with 690 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#include "python.h"
#include <sstream>
#include <string>
#include <fstream>
extern void python_export_vector(py::module &);
extern void python_export_igl(py::module &);
PYTHON_PLUGIN(igl) {
py::init_threading();
py::module m("igl", "Python wrappers for libigl");
python_export_vector(m);
python_export_igl(m);
return m.ptr();
}