comparison python/python-libpst.cpp @ 201:3850a3b11745

fixes for parallel readpst
author Carl Byington <carl@five-ten-sg.com>
date Sat, 16 May 2009 10:32:26 -0700
parents e3a46f66332b
children 268458c79e9b
comparison
equal deleted inserted replaced
200:d360f96f71f6 201:3850a3b11745
586 .def_readonly("data", &pst_x_attrib_ll::data) 586 .def_readonly("data", &pst_x_attrib_ll::data)
587 .add_property("next", make_getter(&pst_x_attrib_ll::next, return_value_policy<reference_existing_object>())) 587 .add_property("next", make_getter(&pst_x_attrib_ll::next, return_value_policy<reference_existing_object>()))
588 ; 588 ;
589 589
590 class_<pst_file>("pst_file") 590 class_<pst_file>("pst_file")
591 .def_readonly("cwd", &pst_file::cwd)
592 .def_readonly("fname", &pst_file::fname)
591 .add_property("i_head", make_getter(&pst_file::i_head, return_value_policy<reference_existing_object>())) 593 .add_property("i_head", make_getter(&pst_file::i_head, return_value_policy<reference_existing_object>()))
592 .add_property("i_tail", make_getter(&pst_file::i_tail, return_value_policy<reference_existing_object>())) 594 .add_property("i_tail", make_getter(&pst_file::i_tail, return_value_policy<reference_existing_object>()))
593 .add_property("d_head", make_getter(&pst_file::d_head, return_value_policy<reference_existing_object>())) 595 .add_property("d_head", make_getter(&pst_file::d_head, return_value_policy<reference_existing_object>()))
594 .add_property("d_tail", make_getter(&pst_file::d_tail, return_value_policy<reference_existing_object>())) 596 .add_property("d_tail", make_getter(&pst_file::d_tail, return_value_policy<reference_existing_object>()))
595 .add_property("x_head", make_getter(&pst_file::x_head, return_value_policy<reference_existing_object>())) 597 .add_property("x_head", make_getter(&pst_file::x_head, return_value_policy<reference_existing_object>()))