My mistake, sorry

This commit is contained in:
Damien Dupuis 2010-07-13 13:05:59 +00:00
parent 546cb9548d
commit f35c77cf73
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ BOOST_PYTHON_MODULE(pyDTR) {
.def("addARule" , &Techno::addARule, return_value_policy<reference_existing_object>()) .def("addARule" , &Techno::addARule, return_value_policy<reference_existing_object>())
// others // others
.def("readFromFile", &Techno::readFromFile, return_value_policy<reference_new_object>()) .def("readFromFile", &Techno::readFromFile, return_value_policy<reference_existing_object>())
.staticmethod("readFromFile") .staticmethod("readFromFile")
.def("writeToFile" , &Techno::writeToFile) .def("writeToFile" , &Techno::writeToFile)
; ;