Version 2.1.4: Switch to GLAD, minor improvements to simulate.
PiperOrigin-RevId: 439277749 Change-Id: I741d1c499ae88753338fcc6d141a65e92e13023e
This commit is contained in:
+22
-22
@@ -26,27 +26,6 @@ from .ast_nodes import PointerType
|
||||
from .ast_nodes import ValueType
|
||||
|
||||
FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
('mj_activate',
|
||||
FunctionDecl(
|
||||
name='mj_activate',
|
||||
return_type=ValueType(name='int'),
|
||||
parameters=(
|
||||
FunctionParameterDecl(
|
||||
name='filename',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='char', is_const=True),
|
||||
),
|
||||
),
|
||||
),
|
||||
doc='Return 1 (for backward compatibility).',
|
||||
)),
|
||||
('mj_deactivate',
|
||||
FunctionDecl(
|
||||
name='mj_deactivate',
|
||||
return_type=ValueType(name='void'),
|
||||
parameters=(),
|
||||
doc='Do nothing (for backward compatibility).',
|
||||
)),
|
||||
('mj_defaultVFS',
|
||||
FunctionDecl(
|
||||
name='mj_defaultVFS',
|
||||
@@ -85,7 +64,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
),
|
||||
),
|
||||
doc='Add file to VFS, return 0: success, 1: full, 2: repeated name, -1: not found on disk.', # pylint: disable=line-too-long
|
||||
doc='Add file to VFS, return 0: success, 1: full, 2: repeated name, -1: failed to load.', # pylint: disable=line-too-long
|
||||
)),
|
||||
('mj_makeEmptyFileVFS',
|
||||
FunctionDecl(
|
||||
@@ -4738,6 +4717,27 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
|
||||
),
|
||||
doc='Write [datetime, type: message] to MUJOCO_LOG.TXT.',
|
||||
)),
|
||||
('mj_activate',
|
||||
FunctionDecl(
|
||||
name='mj_activate',
|
||||
return_type=ValueType(name='int'),
|
||||
parameters=(
|
||||
FunctionParameterDecl(
|
||||
name='filename',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='char', is_const=True),
|
||||
),
|
||||
),
|
||||
),
|
||||
doc='Return 1 (for backward compatibility).',
|
||||
)),
|
||||
('mj_deactivate',
|
||||
FunctionDecl(
|
||||
name='mj_deactivate',
|
||||
return_type=ValueType(name='void'),
|
||||
parameters=(),
|
||||
doc='Do nothing (for backward compatibility).',
|
||||
)),
|
||||
('mju_zero3',
|
||||
FunctionDecl(
|
||||
name='mju_zero3',
|
||||
|
||||
Reference in New Issue
Block a user