mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
11 lines
352 B
C#
11 lines
352 B
C#
namespace Brutal.Interop;
|
|
|
|
/// <summary>
|
|
/// Describes an object that can be marshalled between managed and unmanaged code via a typed handle.
|
|
/// </summary>
|
|
public interface IInteropHandle<THandle, out TSelf> : INullable
|
|
where THandle : unmanaged
|
|
where TSelf : struct, IInteropHandle<THandle, TSelf>
|
|
{
|
|
THandle Pointer { get; init; }
|
|
}
|