Commit a4ed608c authored by Anthony Royer's avatar Anthony Royer

Merge branch 'master' into ghostCells

parents 5055a566 d89d82f3
Pipeline #1078 passed with stage
in 22 minutes and 39 seconds
......@@ -135,7 +135,7 @@ def ovectorvectorpair(name,value=None,python_value=None):
def ivectorint(name,value=None,python_value=None):
a = arg(name,value,python_value,"const std::vector<int> &","const int *",False)
a.c_arg = "ptr2vector("+name+","+name+"_n)"
a.c = "int* "+name+", size_t "+name+"_n"
a.c = "int * "+name+", size_t "+name+"_n"
a.python_pre = "api_"+name+"_, api_"+name+"_n_ = _ivectorint("+name+")"
a.python_arg = "api_"+name+"_, api_"+name+"_n_"
return a
......@@ -154,7 +154,7 @@ def ovectorint(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+")"
......
This diff is collapsed.
This diff is collapsed.
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