Internal Python bindings cleanup.

PiperOrigin-RevId: 495868304
Change-Id: Ib9cfe5f7a1d49126659176207bd6b4a314f8516a
This commit is contained in:
Saran Tunyasuvunakool
2022-12-16 07:22:01 -08:00
committed by Copybara-Service
parent 189349f421
commit 725b45b577
3 changed files with 23 additions and 19 deletions
+2 -2
View File
@@ -477,7 +477,7 @@ class MjWrapper<raw::MjModel> : public WrapperBase<raw::MjModel> {
pybind11::bytes text_data_bytes;
pybind11::bytes names_bytes;
private:
protected:
explicit MjWrapper(raw::MjModel* ptr);
MjModelIndexer indexer_;
@@ -584,7 +584,7 @@ class MjWrapper<raw::MjData>: public WrapperBase<raw::MjData> {
py_array_or_tuple_t<mjtNum> solver_fwdinv;
py_array_or_tuple_t<mjtNum> energy;
private:
protected:
// Internal constructor which takes ownership of given mjData pointer.
// Used for deserialization.
explicit MjWrapper(MjDataMetadata&& metadata, raw::MjData* d);