vector_Vec4i_delete() private method

private vector_Vec4i_delete ( IntPtr vector ) : void
vector IntPtr
return void
Beispiel #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_Vec4i_delete(ptr);
             }
             disposed = true;
         }
         finally
         {
             base.Dispose(disposing);
         }
     }
 }
Beispiel #2
0
 /// <summary>
 /// Releases unmanaged resources
 /// </summary>
 protected override void DisposeUnmanaged()
 {
     NativeMethods.vector_Vec4i_delete(ptr);
     base.DisposeUnmanaged();
 }