コード例 #1
0
 internal static extern void FT_List_Finalize(IntPtr list, ListDestructor destroy, IntPtr memory, IntPtr user);
コード例 #2
0
 internal static extern void FT_List_Finalize(IntPtr list, ListDestructor destroy, IntPtr memory, IntPtr user);
コード例 #3
0
ファイル: FTList.cs プロジェクト: blockspacer/FrankE
 /// <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);
 }
コード例 #4
0
ファイル: FTList.cs プロジェクト: netonjm/SharpFont
		/// <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);
		}