From 79f0f18f3c2b2d77218b69c4ef97505170f188b8 Mon Sep 17 00:00:00 2001 From: artemp Date: Mon, 4 Feb 2013 19:08:10 +0000 Subject: [PATCH] + provide both symbols and copy_symbols methods --- bindings/python/mapnik_rule.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/python/mapnik_rule.cpp b/bindings/python/mapnik_rule.cpp index 7a88d7f36..bad1f2639 100644 --- a/bindings/python/mapnik_rule.cpp +++ b/bindings/python/mapnik_rule.cpp @@ -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())) + .add_property("copy_symbols",make_function (&rule::get_symbolizers,return_value_policy())) ; }