core_SVD_delete() private method

private core_SVD_delete ( IntPtr obj ) : void
obj IntPtr
return void
Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         try
         {
             if (disposing)
             {
             }
             if (ptr != IntPtr.Zero)
             {
                 NativeMethods.core_SVD_delete(ptr);
                 ptr = IntPtr.Zero;
             }
             disposed = true;
         }
         finally
         {
             base.Dispose(disposing);
         }
     }
 }
Example #2
0
 /// <summary>
 /// Releases unmanaged resources
 /// </summary>
 protected override void DisposeUnmanaged()
 {
     NativeMethods.core_SVD_delete(ptr);
     base.DisposeUnmanaged();
 }
Example #3
0
 /// <summary>
 /// Releases unmanaged resources
 /// </summary>
 protected override void DisposeUnmanaged()
 {
     NativeMethods.HandleException(
         NativeMethods.core_SVD_delete(ptr));
     base.DisposeUnmanaged();
 }