Change the type of state signature arguments from unsigned int to int

PiperOrigin-RevId: 843162492
Change-Id: I51d3324f088e8055898e115bdd32267c5950a412
This commit is contained in:
Yuval Tassa
2025-12-11 04:33:33 -08:00
committed by Copybara-Service
parent fe0a11d58d
commit 1ff74ba810
9 changed files with 92 additions and 46 deletions
+6 -6
View File
@@ -2461,7 +2461,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
),
FunctionParameterDecl(
name='sig',
type=ValueType(name='unsigned int'),
type=ValueType(name='int'),
),
),
doc='Return size of state signature.',
@@ -2491,7 +2491,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
),
FunctionParameterDecl(
name='sig',
type=ValueType(name='unsigned int'),
type=ValueType(name='int'),
),
),
doc='Get state.',
@@ -2515,7 +2515,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
),
FunctionParameterDecl(
name='srcsig',
type=ValueType(name='unsigned int'),
type=ValueType(name='int'),
),
FunctionParameterDecl(
name='dst',
@@ -2525,7 +2525,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
),
FunctionParameterDecl(
name='dstsig',
type=ValueType(name='unsigned int'),
type=ValueType(name='int'),
),
),
doc='Extract a subset of components from a state previously obtained via mj_getState.', # pylint: disable=line-too-long
@@ -2555,7 +2555,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
),
FunctionParameterDecl(
name='sig',
type=ValueType(name='unsigned int'),
type=ValueType(name='int'),
),
),
doc='Set state.',
@@ -2585,7 +2585,7 @@ FUNCTIONS: Mapping[str, FunctionDecl] = dict([
),
FunctionParameterDecl(
name='sig',
type=ValueType(name='unsigned int'),
type=ValueType(name='int'),
),
),
doc='Copy state from src to dst.',