FT_List_Finalize() private method

private FT_List_Finalize ( IntPtr list, ListDestructor destroy, IntPtr memory, IntPtr user ) : void
list System.IntPtr
destroy ListDestructor
memory System.IntPtr
user System.IntPtr
return void
Example #1
0
 /// <summary>
 /// Destroy all elements in the list as well as the list itself.
 /// </summary>
 /// <remarks>
 /// This function expects that all nodes added by <see cref="Add"/> or <see cref="Insert"/> have been
 /// dynamically allocated.
 /// </remarks>
 /// <param name="destroy">A list destructor that will be applied to each element of the list.</param>
 /// <param name="memory">The current memory object which handles deallocation.</param>
 /// <param name="user">A user-supplied field which is passed as the last argument to the destructor.</param>
 public void Finalize(ListDestructor destroy, Memory memory, IntPtr user)
 {
     FT.FT_List_Finalize(Reference, destroy, memory.Reference, user);
 }