mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
11
brutal.interop/Brutal.Interop/IInteropHandle.cs
Normal file
11
brutal.interop/Brutal.Interop/IInteropHandle.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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; }
|
||||
}
|
||||
Loading…
Reference in a new issue