xo-pyexpression: + typedescr arg to make_var()
This commit is contained in:
parent
abd33daec0
commit
c381fc4751
1 changed files with 3 additions and 1 deletions
|
|
@ -137,7 +137,9 @@ namespace xo {
|
|||
.def_property_readonly("name", &Variable::name, py::doc("variable name"))
|
||||
;
|
||||
|
||||
m.def("make_var", &make_var);
|
||||
m.def("make_var", &make_var,
|
||||
py::arg("name"),
|
||||
py::arg("var_type"));
|
||||
|
||||
// ----- Lambdas -----
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue