Migrate mjtByte to mjtBool for boolean-valued fields.
PiperOrigin-RevId: 921408093 Change-Id: Icb00457836359779f0f72fc02d6a7c0dc9f6bd23
This commit is contained in:
committed by
Copybara-Service
parent
3cabb2eb8e
commit
393c1e4217
@@ -136,6 +136,7 @@ C_TO_CS_TYPE = {
|
||||
'void': 'void',
|
||||
'mjtNum': 'double',
|
||||
'mjtByte': 'byte',
|
||||
'mjtBool': 'byte',
|
||||
'mjtSize': 'UInt64' if ctypes.sizeof(ctypes.c_size_t) == 8 else 'UInt32',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user