+ provide both symbols and copy_symbols methods
This commit is contained in:
parent
16ce1f5bdd
commit
79f0f18f3c
1 changed files with 2 additions and 0 deletions
|
@ -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>()))
|
||||
;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue