Rename nstack to narena, change it and pstack to count bytes.

PiperOrigin-RevId: 561066311
Change-Id: I4d0e645e6c254dd906bfc42159e0e99149a7c6c8
This commit is contained in:
Saran Tunyasuvunakool
2023-08-29 10:12:46 -07:00
committed by Copybara-Service
parent b979a26b10
commit daa2ac7f8b
22 changed files with 162 additions and 117 deletions
+5 -5
View File
@@ -570,12 +570,12 @@ public unsafe struct mjSolverStat_ {
[StructLayout(LayoutKind.Sequential)]
public unsafe struct mjData_ {
public int nstack;
public int nbuffer;
public UIntPtr narena;
public UIntPtr nbuffer;
public int nplugin;
public UIntPtr pstack;
public UIntPtr parena;
public int maxuse_stack;
public UIntPtr maxuse_stack;
public UIntPtr maxuse_arena;
public int maxuse_con;
public int maxuse_efc;
@@ -1965,11 +1965,11 @@ public unsafe struct mjModel_ {
public int nemax;
public int njmax;
public int nconmax;
public int nstack;
public int nuserdata;
public int nsensordata;
public int npluginstate;
public int nbuffer;
public UIntPtr narena;
public UIntPtr nbuffer;
public mjOption_ opt;
public mjVisual_ vis;
public mjStatistic_ stat;