We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59bdd4e commit 2719634Copy full SHA for 2719634
DotnetNativeBase/pointer.cs
@@ -30,6 +30,9 @@ public unsafe struct pointer
30
public static implicit operator pointer(delegate* unmanaged<void> ptr) => new((nint)ptr);
31
32
public static implicit operator nint(pointer pointer) => pointer.Address;
33
+ public static implicit operator nuint(pointer pointer) => (nuint)pointer.Address;
34
+ public static implicit operator long(pointer pointer) => pointer.Address;
35
+ public static implicit operator ulong(pointer pointer) => (ulong)pointer.Address;
36
37
public static implicit operator void*(pointer pointer) => (void*)pointer.Address;
38
public static implicit operator void**(pointer pointer) => (void**)pointer.Address;
0 commit comments