checkpoint collections

This commit is contained in:
2020-04-27 04:32:44 -04:00
parent e681715c31
commit 6ed92261ec
26 changed files with 322 additions and 424 deletions

16
IAlpmItemsAccessor`1.cs Normal file
View File

@@ -0,0 +1,16 @@
using System;
namespace Foodsoft.Alpm
{
internal interface IAlpmItemsAccessor<TElement>
{
SafeAlpmHandle SafeAlpmHandle { get; }
public IntPtr GetItems();
public int SetItems(IntPtr list);
public int AddItem(TElement item);
public int RemoveItem(TElement item);
public IntPtr FindItem(TElement item);
public TElement PtrToItem(IntPtr p);
}
}