Internal change
PiperOrigin-RevId: 928689775 Change-Id: Idfbbafe44b74acf36ff82a72eabf026d4226d47c
This commit is contained in:
committed by
Copybara-Service
parent
2fcd135179
commit
66c0131840
@@ -41,6 +41,7 @@ py::object Parse(std::string_view filepath) {
|
||||
} // namespace mujoco::python
|
||||
|
||||
PYBIND11_MODULE(parser, m) {
|
||||
pybind11::module_::import("mujoco._structs");
|
||||
m.def("parse", &mujoco::python::Parse,
|
||||
pybind11::return_value_policy::take_ownership);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user