public void Dispose() { MemUtil.Free((IntPtr)NativePointer); NativePointer = null; GC.SuppressFinalize(this); }
public AllocationCallbacks() { NativePointer = (Unmanaged.AllocationCallbacks *)MemUtil.Alloc(typeof(Unmanaged.AllocationCallbacks)); }
public void Dispose() { MemUtil.Free((IntPtr)NativePointer); NativePointer = null; GC.SuppressFinalize(this); }
public AllocationCallbacks() { NativePointer = (Unmanaged.AllocationCallbacks *)MemUtil.Alloc(typeof(Unmanaged.AllocationCallbacks)); }