Remove usage of size_t types in mjModel, use mjtSize (uint64_t) instead to improve portabilty of MJB files to WASM.

PiperOrigin-RevId: 789321991
Change-Id: Ic25fab876c347fc75f5ca24cad09e8fd972f035f
This commit is contained in:
Matija Kecman
2025-07-31 07:06:58 -07:00
committed by Copybara-Service
parent 4c288c19ac
commit 23fa7c00d5
11 changed files with 224 additions and 185 deletions
+12
View File
@@ -91,6 +91,18 @@ Byte type used to represent boolean variables.
typedef unsigned char mjtByte;
.. _mjtSize:
mjtSize
^^^^^^^
Size type used to represent buffer sizes.
.. code-block:: C
typedef uint64_t mjtSize;
.. _tyEnums:
Enum types