Format memory warning in human-friendly way.
PiperOrigin-RevId: 486610408 Change-Id: I6beecb12059e69f4407e921d20efc54ce6b3f491
This commit is contained in:
committed by
Copybara-Service
parent
fc24097b92
commit
fd4d47e4a5
@@ -6937,6 +6937,20 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
doc='Convert type name to type id (mjtObj).',
|
||||
)),
|
||||
('mju_writeNumBytes',
|
||||
FunctionDecl(
|
||||
name='mju_writeNumBytes',
|
||||
return_type=PointerType(
|
||||
inner_type=ValueType(name='char', is_const=True),
|
||||
),
|
||||
parameters=(
|
||||
FunctionParameterDecl(
|
||||
name='nbytes',
|
||||
type=ValueType(name='size_t', is_const=True),
|
||||
),
|
||||
),
|
||||
doc='Return human readable number of bytes using standard letter suffix.', # pylint: disable=line-too-long
|
||||
)),
|
||||
('mju_warningText',
|
||||
FunctionDecl(
|
||||
name='mju_warningText',
|
||||
|
||||
Reference in New Issue
Block a user