Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
commit
45a6d67db8
|
@ -1312,7 +1312,14 @@ namespace OdeAPI
|
||||||
public static extern void GeomTriMeshSetRayCallback(IntPtr g, TriRayCallback callback);
|
public static extern void GeomTriMeshSetRayCallback(IntPtr g, TriRayCallback callback);
|
||||||
|
|
||||||
[DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dGetConfiguration"), SuppressUnmanagedCodeSecurity]
|
[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]
|
[DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dHashSpaceCreate"), SuppressUnmanagedCodeSecurity]
|
||||||
public static extern IntPtr HashSpaceCreate(IntPtr space);
|
public static extern IntPtr HashSpaceCreate(IntPtr space);
|
||||||
|
|
Loading…
Reference in New Issue