From c76a4d8a9ee58eb573cbb313e9d3b47778d895ea Mon Sep 17 00:00:00 2001
From: Tuomas Karna <tuomas.karna@uclouvain.be>
Date: Thu, 2 Dec 2010 10:10:00 +0000
Subject: [PATCH] python interface update

---
 Common/gmshpy.i | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Common/gmshpy.i b/Common/gmshpy.i
index 0aef8c5cfa..bcd1e06c1c 100644
--- a/Common/gmshpy.i
+++ b/Common/gmshpy.i
@@ -2,6 +2,7 @@
 %module gmshpy
 %include std_string.i
 %include std_vector.i
+%include std_list.i
 %{
   #include "GModel.h"
   #include "fullMatrix.h"
@@ -57,7 +58,13 @@
 namespace std {
    %template(IntVector) vector<int>;
    %template(DoubleVector) vector<double, std::allocator<double> >;
+   %template(StringVector) vector<std::string, std::allocator<std::string> >;
+   %template(GVertexVector) vector<GVertex*, std::allocator<GVertex*> >;
+   %template(GEdgeVector) vector<GEdge*, std::allocator<GEdge*> >;
+   %template(GFaceVector) vector<GFace*, std::allocator<GFace*> >;
+   %template(GRegionVector) vector<GRegion*, std::allocator<GRegion*> >;
    %template(VectorFunctionConst) vector<const function*, std::allocator<const function*> >;
+   %template(GEdgeVectorVector) vector< std::vector< GEdge *,std::allocator< GEdge * > >,std::allocator< std::vector< GEdge *,std::allocator< GEdge * > > > >;
 }
 
 %include "fullMatrix.h"
-- 
GitLab