Return 0 on success from mjs_activatePlugin instead of using mju_error.
PiperOrigin-RevId: 684102823 Change-Id: I86b7702094ae886539e1dfb6294381952d507bc1
This commit is contained in:
committed by
Copybara-Service
parent
5dcc31a6aa
commit
a26ba2012e
@@ -1048,7 +1048,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
('mjs_activatePlugin',
|
||||
FunctionDecl(
|
||||
name='mjs_activatePlugin',
|
||||
return_type=ValueType(name='void'),
|
||||
return_type=ValueType(name='int'),
|
||||
parameters=(
|
||||
FunctionParameterDecl(
|
||||
name='s',
|
||||
@@ -1063,7 +1063,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
),
|
||||
),
|
||||
doc='Activate plugin.',
|
||||
doc='Activate plugin. Returns 0 on success.',
|
||||
)),
|
||||
('mj_printFormattedModel',
|
||||
FunctionDecl(
|
||||
|
||||
Reference in New Issue
Block a user