Files
Mujoco_WASM/include/mujoco
Liu Liu f0bb7467a3 Add annotations for length of a given array in mj* structs
This PR added necessary annotations, following what we did for mjData
and mjModel for length of the given array.

This is useful because my parser used to generate Swift interface:
https://github.com/liuliu/swift-mujoco/blob/main/Sources/codegen/main.swift#L297
such that the access to underlying array is bound-checked.

Please let me know if this makes sense. After this change, I can
successfully generate all mj* struct interfaces in Swift without problem
(with notable exception of mjui): https://github.com/liuliu/swift-mujoco/tree/main/Sources
2022-05-23 13:09:41 -04:00
..
2022-05-23 01:22:15 -07:00
2022-05-23 01:08:49 -07:00
2022-05-23 01:22:15 -07:00
2022-05-23 01:08:49 -07:00
2022-05-23 01:08:49 -07:00
2022-05-23 01:22:15 -07:00
2022-05-23 01:08:49 -07:00