From b5dc40a789c0fdf37a4e17ce4bb004db76a74a85 Mon Sep 17 00:00:00 2001 From: Adam Radziszewski <adam.radziszewski@pwr.wroc.pl> Date: Fri, 16 Sep 2011 13:00:20 +0200 Subject: [PATCH] fix matchrulesequence SWIG wrapper --- swig/matchrulesequence.i | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/swig/matchrulesequence.i b/swig/matchrulesequence.i index f746531..cc5105c 100644 --- a/swig/matchrulesequence.i +++ b/swig/matchrulesequence.i @@ -15,8 +15,10 @@ %include <libcorpus2/boost_shared_ptr.i> %template(MatchRuleVector) std::vector<Wccl::Matching::MatchRule>; -%template(MatchRuleSequencePtr) boost::shared_ptr<Wccl::Matching::MatchRule>; -%template(ConstMatchRuleSequencePtr) boost::shared_ptr<const Wccl::Matching::MatchRule>; +%template(MatchRulePtr) boost::shared_ptr<Wccl::Matching::MatchRule>; +%template(ConstMatchRuleSequencePtr) boost::shared_ptr<const Wccl::Matching::MatchRuleSequence>; +%template(MatchRuleSequencePtr) boost::shared_ptr<Wccl::Matching::MatchRuleSequence>; +%template(ConstMatchRulePtr) boost::shared_ptr<const Wccl::Matching::MatchRule>; namespace Wccl { namespace Matching { -- GitLab