1 // --------------------------------------------------------------------------------------------------------------------
\r
2 // <copyright file="NativeList.cs" company="HandBrake Project (http://handbrake.fr)">
\r
3 // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
\r
6 // Represents a HandBrake style native list.
\r
8 // --------------------------------------------------------------------------------------------------------------------
\r
10 namespace HandBrake.Interop
\r
13 using System.Collections.Generic;
\r
16 /// Represents a HandBrake style native list.
\r
18 public class NativeList
\r
21 /// The list of native memory locations allocated for this list.
\r
23 private List<IntPtr> allocatedMemory = new List<IntPtr>();
\r
26 /// Gets or sets the pointer to the native list.
\r
28 public IntPtr ListPtr { get; set; }
\r
31 /// Gets the list of native memory locations allocated for this list.
\r
33 public List<IntPtr> AllocatedMemory
\r
37 return allocatedMemory;
\r