Fix docstring of mjData.arena. Fixes #1753

PiperOrigin-RevId: 646121139
Change-Id: I46c7fb32b0e705fb3b8301272d7fc55ba0dacd7c
This commit is contained in:
Yuval Tassa
2024-06-24 09:27:00 -07:00
committed by Copybara-Service
parent ee6a1dba28
commit 9e9a0c637e
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -179,8 +179,8 @@ struct mjData_ {
//-------------------- end of info header
// buffers
void* buffer; // main buffer; all pointers point in it (nbuffer bytes)
void* arena; // arena+stack buffer (nstack*sizeof(mjtNum) bytes)
void* buffer; // main buffer; all pointers point in it (nbuffer bytes)
void* arena; // arena+stack buffer (narena bytes)
//-------------------- main inputs and outputs of the computation
+2 -2
View File
@@ -207,8 +207,8 @@ struct mjData_ {
//-------------------- end of info header
// buffers
void* buffer; // main buffer; all pointers point in it (nbuffer bytes)
void* arena; // arena+stack buffer (nstack*sizeof(mjtNum) bytes)
void* buffer; // main buffer; all pointers point in it (nbuffer bytes)
void* arena; // arena+stack buffer (narena bytes)
//-------------------- main inputs and outputs of the computation
+2 -2
View File
@@ -4329,14 +4329,14 @@ STRUCTS: Mapping[str, StructDecl] = dict([
type=PointerType(
inner_type=ValueType(name='void'),
),
doc='main buffer; all pointers point in it (nbuffer bytes)', # pylint: disable=line-too-long
doc='main buffer; all pointers point in it (nbuffer bytes)', # pylint: disable=line-too-long
),
StructFieldDecl(
name='arena',
type=PointerType(
inner_type=ValueType(name='void'),
),
doc='arena+stack buffer (nstack*sizeof(mjtNum) bytes)', # pylint: disable=line-too-long
doc='arena+stack buffer (narena bytes)', # pylint: disable=line-too-long
),
StructFieldDecl(
name='qpos',