// Copyright (c) 2021 homuler // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. using System; namespace Mediapipe { public abstract class UniquePtrHandle : MpResourceHandle { protected UniquePtrHandle(IntPtr ptr, bool isOwner = true) : base(ptr, isOwner) { } /// The owning pointer public abstract IntPtr Get(); /// Release the owning pointer public abstract IntPtr Release(); } }