KinectUnityAddinUtils.cs 641 B

12345678910111213141516171819
  1. using RootSystem = System;
  2. using System.Linq;
  3. using System.Collections.Generic;
  4. namespace Windows.Kinect
  5. {
  6. //
  7. // Windows.Kinect.KinectUnityAddinUtils
  8. //
  9. public sealed partial class KinectUnityAddinUtils
  10. {
  11. [RootSystem.Runtime.InteropServices.DllImport("KinectUnityAddin", CallingConvention=RootSystem.Runtime.InteropServices.CallingConvention.Cdecl, SetLastError=true)]
  12. private static extern void KinectUnityAddin_FreeMemory(RootSystem.IntPtr pToDealloc);
  13. public static void FreeMemory(RootSystem.IntPtr pToDealloc)
  14. {
  15. KinectUnityAddin_FreeMemory(pToDealloc);
  16. }
  17. }
  18. }