+ provide both symbols and copy_symbols methods

This commit is contained in:
artemp 2013-02-04 19:08:10 +00:00
parent 16ce1f5bdd
commit 79f0f18f3c

View file

@ -84,6 +84,8 @@ void export_rule()
.def("has_also",&rule::has_also_filter)
.def("active",&rule::active)
.add_property("symbols",make_function
(&rule::get_symbolizers,return_value_policy<reference_existing_object>()))
.add_property("copy_symbols",make_function
(&rule::get_symbolizers,return_value_policy<copy_const_reference>()))
;
}