Fix docstring of mjData.arena. Fixes #1753
PiperOrigin-RevId: 646121139 Change-Id: I46c7fb32b0e705fb3b8301272d7fc55ba0dacd7c
This commit is contained in:
committed by
Copybara-Service
parent
ee6a1dba28
commit
9e9a0c637e
@@ -179,8 +179,8 @@ struct mjData_ {
|
|||||||
//-------------------- end of info header
|
//-------------------- end of info header
|
||||||
|
|
||||||
// buffers
|
// buffers
|
||||||
void* buffer; // main buffer; all pointers point in it (nbuffer bytes)
|
void* buffer; // main buffer; all pointers point in it (nbuffer bytes)
|
||||||
void* arena; // arena+stack buffer (nstack*sizeof(mjtNum) bytes)
|
void* arena; // arena+stack buffer (narena bytes)
|
||||||
|
|
||||||
//-------------------- main inputs and outputs of the computation
|
//-------------------- main inputs and outputs of the computation
|
||||||
|
|
||||||
|
|||||||
@@ -207,8 +207,8 @@ struct mjData_ {
|
|||||||
//-------------------- end of info header
|
//-------------------- end of info header
|
||||||
|
|
||||||
// buffers
|
// buffers
|
||||||
void* buffer; // main buffer; all pointers point in it (nbuffer bytes)
|
void* buffer; // main buffer; all pointers point in it (nbuffer bytes)
|
||||||
void* arena; // arena+stack buffer (nstack*sizeof(mjtNum) bytes)
|
void* arena; // arena+stack buffer (narena bytes)
|
||||||
|
|
||||||
//-------------------- main inputs and outputs of the computation
|
//-------------------- main inputs and outputs of the computation
|
||||||
|
|
||||||
|
|||||||
@@ -4329,14 +4329,14 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
|||||||
type=PointerType(
|
type=PointerType(
|
||||||
inner_type=ValueType(name='void'),
|
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(
|
StructFieldDecl(
|
||||||
name='arena',
|
name='arena',
|
||||||
type=PointerType(
|
type=PointerType(
|
||||||
inner_type=ValueType(name='void'),
|
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(
|
StructFieldDecl(
|
||||||
name='qpos',
|
name='qpos',
|
||||||
|
|||||||
Reference in New Issue
Block a user