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:
committed by
Copybara-Service
parent
4c288c19ac
commit
23fa7c00d5
@@ -139,6 +139,9 @@ MJAPI int mju_isZero(mjtNum* vec, int n);
|
||||
// set integer vector to 0
|
||||
MJAPI void mju_zeroInt(int* res, int n);
|
||||
|
||||
// set mjtSize vector to 0
|
||||
MJAPI void mju_zeroSize(mjtSize* res, size_t n);
|
||||
|
||||
// set size_t vector to 0
|
||||
MJAPI void mju_zeroSizeT(size_t* res, size_t n);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user