Ticket #3584: python_test.patch
File python_test.patch, 1.6 KB (added by , 13 years ago) |
---|
-
libs/python/test/pickle1.cpp
40 40 boost::python::tuple 41 41 getinitargs(const world& w) 42 42 { 43 using namespace boost::python; 44 return make_tuple(w.get_country()); 43 return boost::python::make_tuple(w.get_country()); 45 44 } 46 45 }; 47 46 -
libs/python/test/pickle2.cpp
52 52 boost::python::tuple 53 53 getinitargs(const world& w) 54 54 { 55 using namespace boost::python; 56 return make_tuple(w.get_country()); 55 return boost::python::make_tuple(w.get_country()); 57 56 } 58 57 59 58 static 60 59 boost::python::tuple 61 60 getstate(const world& w) 62 61 { 63 using namespace boost::python; 64 return make_tuple(w.get_secret_number()); 62 return boost::python::make_tuple(w.get_secret_number()); 65 63 } 66 64 67 65 static -
libs/python/test/pickle3.cpp
53 53 boost::python::tuple 54 54 getinitargs(const world& w) 55 55 { 56 using namespace boost::python; 57 return make_tuple(w.get_country()); 56 return boost::python::make_tuple(w.get_country()); 58 57 } 59 58 60 59 static