/[escript]/branches/more_shared_ptrs_from_1812/escript/src/escriptcpp.cpp
ViewVC logotype

Diff of /branches/more_shared_ptrs_from_1812/escript/src/escriptcpp.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1827 by jfenwick, Wed Oct 1 05:42:31 2008 UTC revision 1828 by jfenwick, Thu Oct 2 04:52:11 2008 UTC
# Line 189  BOOST_PYTHON_MODULE(escriptcpp) Line 189  BOOST_PYTHON_MODULE(escriptcpp)
189      .def("__str__",&escript::Data::toString)      .def("__str__",&escript::Data::toString)
190  //     .def("getDomain",&escript::Data::getDomain,return_internal_reference<>())  //     .def("getDomain",&escript::Data::getDomain,return_internal_reference<>())
191      .def("getDomain",&escript::Data::getDomainPython)      .def("getDomain",&escript::Data::getDomainPython)
192      .def("getFunctionSpace",&escript::Data::getFunctionSpace,return_internal_reference<>())      .def("getFunctionSpace",&escript::Data::getFunctionSpace,return_value_policy<copy_const_reference>())
193      .def("isEmpty",&escript::Data::isEmpty)      .def("isEmpty",&escript::Data::isEmpty)
194      .def("isProtected",&escript::Data::isProtected)      .def("isProtected",&escript::Data::isProtected)
195      .def("setProtection",&escript::Data::setProtection)      .def("setProtection",&escript::Data::setProtection)

Legend:
Removed from v.1827  
changed lines
  Added in v.1828

  ViewVC Help
Powered by ViewVC 1.1.26