Format memory warning in human-friendly way.
PiperOrigin-RevId: 486610408 Change-Id: I6beecb12059e69f4407e921d20efc54ce6b3f491
This commit is contained in:
committed by
Copybara-Service
parent
fc24097b92
commit
fd4d47e4a5
@@ -3516,6 +3516,10 @@ public static unsafe extern string mju_type2Str(int type);
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern int mju_str2Type([MarshalAs(UnmanagedType.LPStr)]string str);
|
||||
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
[return: MarshalAs(UnmanagedType.LPStr)]
|
||||
public static unsafe extern string mju_writeNumBytes(UIntPtr nbytes);
|
||||
|
||||
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
|
||||
[return: MarshalAs(UnmanagedType.LPStr)]
|
||||
public static unsafe extern string mju_warningText(int warning, UIntPtr info);
|
||||
|
||||
Reference in New Issue
Block a user