Change the type of state signature arguments from unsigned int to int
PiperOrigin-RevId: 843162492 Change-Id: I51d3324f088e8055898e115bdd32267c5950a412
This commit is contained in:
committed by
Copybara-Service
parent
fe0a11d58d
commit
1ff74ba810
@@ -6655,19 +6655,19 @@ public static unsafe extern void mj_referenceConstraint(mjModel_* m, mjData_* d)
|
||||
public static unsafe extern void mj_constraintUpdate(mjModel_* m, mjData_* d, double* jar, double* cost, int flg_coneHessian);
|
||||
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern int mj_stateSize(mjModel_* m, uint sig);
|
||||
public static unsafe extern int mj_stateSize(mjModel_* m, int sig);
|
||||
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern void mj_getState(mjModel_* m, mjData_* d, double* state, uint sig);
|
||||
public static unsafe extern void mj_getState(mjModel_* m, mjData_* d, double* state, int sig);
|
||||
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern void mj_extractState(mjModel_* m, double* src, uint srcsig, double* dst, uint dstsig);
|
||||
public static unsafe extern void mj_extractState(mjModel_* m, double* src, int srcsig, double* dst, int dstsig);
|
||||
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern void mj_setState(mjModel_* m, mjData_* d, double* state, uint sig);
|
||||
public static unsafe extern void mj_setState(mjModel_* m, mjData_* d, double* state, int sig);
|
||||
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern void mj_copyState(mjModel_* m, mjData_* src, mjData_* dst, uint sig);
|
||||
public static unsafe extern void mj_copyState(mjModel_* m, mjData_* src, mjData_* dst, int sig);
|
||||
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern void mj_setKeyframe(mjModel_* m, mjData_* d, int k);
|
||||
|
||||
Reference in New Issue
Block a user