Exemple #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(FT_List_Destructor destroy, Memory memory, IntPtr user)
 {
     FT.FT_List_Finalize(Reference, destroy, memory.Reference, user);
 }
Exemple #2
0
 public static extern void FT_List_Finalize(IntPtr list, FT_List_Destructor destroy, IntPtr memory, IntPtr user);