From 44c96ffeaae9cd774b13b397556328f5e52d01de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20K=C4=99dzia?= <Pawel.Kedzia@pwr.wroc.pl>
Date: Tue, 3 Jan 2012 09:43:49 +0100
Subject: [PATCH] New template for vector of shared ptr of document

---
 swig/document.i | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/swig/document.i b/swig/document.i
index 3abe1e0..900053a 100644
--- a/swig/document.i
+++ b/swig/document.i
@@ -13,6 +13,8 @@
 %template(DocumentPtr) boost::shared_ptr<Corpus2::whole::Document>;
 %template(ConstDocumentPtr) boost::shared_ptr<const Corpus2::whole::Document>;
 
+%template(DocumentPtrVector) std::vector<boost::shared_ptr<Corpus2::whole::Document> >;
+
 namespace Corpus2 {
 namespace whole {
   class Document {
-- 
GitLab