mirror of https://github.com/mono/CppSharp.git
3 changed files with 21 additions and 5 deletions
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
using System; |
||||
|
||||
namespace CppSharp.Runtime |
||||
{ |
||||
public class Pointer<T> |
||||
{ |
||||
public Pointer(IntPtr ptr) => this.ptr = ptr; |
||||
|
||||
public static implicit operator IntPtr(Pointer<T> pointer) => pointer.ptr; |
||||
|
||||
private readonly IntPtr ptr; |
||||
} |
||||
} |
Loading…
Reference in new issue