mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
retry fixing ode getconfiguration()
This commit is contained in:
@@ -1312,7 +1312,14 @@ namespace OdeAPI
|
||||
public static extern void GeomTriMeshSetRayCallback(IntPtr g, TriRayCallback callback);
|
||||
|
||||
[DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dGetConfiguration"), SuppressUnmanagedCodeSecurity]
|
||||
public static extern string GetConfiguration();
|
||||
public static extern IntPtr iGetConfiguration();
|
||||
|
||||
public static string GetConfiguration()
|
||||
{
|
||||
IntPtr ptr = iGetConfiguration();
|
||||
string s = Marshal.PtrToStringAnsi(ptr);
|
||||
return s;
|
||||
}
|
||||
|
||||
[DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dHashSpaceCreate"), SuppressUnmanagedCodeSecurity]
|
||||
public static extern IntPtr HashSpaceCreate(IntPtr space);
|
||||
|
||||
Reference in New Issue
Block a user