Skip to content
Snippets Groups Projects
Commit 25d38dcd authored by Van Dung NGUYEN's avatar Van Dung NGUYEN
Browse files

make vector<int> == vectorInt, vector<double> == vectorDouble, vector<string>...

make vector<int> == vectorInt, vector<double> == vectorDouble, vector<string> == vectorString in python
parent 072e564c
No related branches found
No related tags found
No related merge requests found
%include std_string.i
%include std_vector.i
%include std_map.i
%template(vectorInt) std::vector<int>;
%template(vectorDouble) std::vector<double>;
%template(vectorString) std::vector<std::string>;
%{ %{
#undef HAVE_DLOPEN #undef HAVE_DLOPEN
#include "NonLinearSolverConfig.h" #include "NonLinearSolverConfig.h"
......
...@@ -4,9 +4,7 @@ ...@@ -4,9 +4,7 @@
#else #else
%module dG3Dpy %module dG3Dpy
#endif #endif
%include std_string.i
%include std_vector.i
%include std_map.i
%include nlmechsolpy.i %include nlmechsolpy.i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment