Clean up mj_id2name and mj_name2id.
PiperOrigin-RevId: 514340647 Change-Id: Idf895b2d7a4a8833725afbe5c71c777081b42d9e
This commit is contained in:
committed by
Copybara-Service
parent
222ee00a66
commit
49dd6b4193
@@ -2184,7 +2184,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
),
|
||||
),
|
||||
doc='Get id of object with specified name, return -1 if not found; type is mjtObj.', # pylint: disable=line-too-long
|
||||
doc='Get id of object with the specified mjtObj type and name, returns -1 if id not found.', # pylint: disable=line-too-long
|
||||
)),
|
||||
('mj_id2name',
|
||||
FunctionDecl(
|
||||
@@ -2208,7 +2208,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
type=ValueType(name='int'),
|
||||
),
|
||||
),
|
||||
doc='Get name of object with specified id, return 0 if invalid type or id; type is mjtObj.', # pylint: disable=line-too-long
|
||||
doc='Get name of object with the specified mjtObj type and id, returns NULL if name not found.', # pylint: disable=line-too-long
|
||||
)),
|
||||
('mj_fullM',
|
||||
FunctionDecl(
|
||||
|
||||
Reference in New Issue
Block a user