Commit b1e957c8 authored by Emilia Juda's avatar Emilia Juda
Browse files

Attempted to wrap GetD()

parent 11678925
......@@ -51,5 +51,8 @@ void export_Points()
.def("GetW", &Points<double>::GetZ,
py::return_value_policy<py::copy_const_reference>())
.def("GetZW", &Points_GetZW)
.def("GetD", &Points<double>::GetD,
py::return_value_policy<py::copy_const_reference>(),
Points_GetD_overloads(py::args("dir")))
;
}
......@@ -8,6 +8,8 @@ void export_ShapeType();
template<typename T>
void export_SharedArray();
BOOST_PYTHON_FUNCTION_OVERLOADS(Points_GetD_overloads, GetD, 1, 1);
BOOST_PYTHON_MODULE(_LibUtilities)
{
np::initialize();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment