using System; using System.Runtime.InteropServices; namespace LibGit2Sharp.Core { [StructLayout(LayoutKind.Sequential)] internal struct GitStrArray { /// /// A pointer to an array of null-terminated strings. /// public IntPtr Strings; /// /// The number of strings in the array. /// public UIntPtr Count; /// /// Resets the GitStrArray to default values. /// public void Reset() { Strings = IntPtr.Zero; Count = UIntPtr.Zero; } } }