Commit 46d10d6f by Christophe Geuzaine

pp

parent 480d1216
......@@ -123,7 +123,7 @@ def ivectorint(name,value=None,python_value=None):
return a
def ivectorvectorint(name,value=None,python_value=None):
a = arg(name,value,python_value,"const std::vector<std::vector<int> >&","const int**",False)
a = arg(name,value,python_value,"const std::vector<std::vector<int> > &","const int**",False)
a.c_arg = "ptrptr2vectorvector("+name+","+name+"_n,"+name+"_nn)"
a.c = "const int ** "+name+", const size_t * "+name+"_n, "+"size_t "+name+"_nn"
a.python_pre = "api_"+name+"_, api_"+name+"_n_, api_"+name+"_nn_ = _ivectorvectorint("+name+")"
......@@ -131,7 +131,7 @@ def ivectorvectorint(name,value=None,python_value=None):
return a
def ivectorvectordouble(name,value=None,python_value=None):
a = arg(name,value,python_value,"const std::vector<std::vector<double> >&","const double**",False)
a = arg(name,value,python_value,"const std::vector<std::vector<double> > &","const double**",False)
a.c_arg = "ptrptr2vectorvector("+name+","+name+"_n,"+name+"_nn)"
a.c = "const double ** "+name+", const size_t * "+name+"_n, "+"size_t "+name+"_nn"
a.python_pre = "api_"+name+"_, api_"+name+"_n_, api_"+name+"_nn_ = _ivectorvectordouble("+name+")"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment