vector_Point2f_delete() private method

private vector_Point2f_delete ( IntPtr vector ) : void
vector IntPtr
return void
Example #1
0
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 /// <param name="disposing">
 /// If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed.
 /// If false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
 /// </param>
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         try
         {
             if (IsEnabledDispose)
             {
                 NativeMethods.vector_Point2f_delete(ptr);
             }
             disposed = true;
         }
         finally
         {
             base.Dispose(disposing);
         }
     }
 }
Example #2
0
 /// <summary>
 /// Releases unmanaged resources
 /// </summary>
 protected override void DisposeUnmanaged()
 {
     NativeMethods.vector_Point2f_delete(ptr);
     base.DisposeUnmanaged();
 }