| 73 | } |
| 74 | |
| 75 | void setPaths( SearchPath &s, const object &p ) |
| 76 | { |
| 77 | s.paths.clear(); |
| 78 | std::vector<std::string> ss; |
| 79 | boost::python::container_utils::extend_container( ss, p ); |
| 80 | s.paths.resize( ss.size() ); |
| 81 | std::copy( ss.begin(), ss.end(), s.paths.begin() ); |
| 82 | } |
| 83 | |
| 84 | } // namespace |
| 85 |