Change mj_sizeModel return type to mjtSize.

PiperOrigin-RevId: 831768095
Change-Id: I079fbadc403b32a3ce8a73fe21b2cd66391401c3
This commit is contained in:
Yuval Tassa
2025-11-13 02:31:15 -08:00
committed by Copybara-Service
parent a168b3ef7f
commit 042c5223a6
8 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ MJAPI mjModel* mj_loadModel(const char* filename, const mjVFS* vfs);
MJAPI void mj_deleteModel(mjModel* m);
// Return size of buffer needed to hold model.
MJAPI int mj_sizeModel(const mjModel* m);
MJAPI mjtSize mj_sizeModel(const mjModel* m);
// Allocate mjData corresponding to given model.
// If the model buffer is unallocated the initial configuration will not be set.