コード例 #1
0
ファイル: GCHandle.cs プロジェクト: pandyer/dnaunity
 public H(fnInternalCallCheck o)
 {
     _p = (PTR)Alloc(o);
 }
コード例 #2
0
ファイル: GCHandle.cs プロジェクト: bmjoy/dnaunity
 public H(fnInternalCallCheck o)
 {
     _p = (PTR)(System.IntPtr)System.Runtime.InteropServices.GCHandle.Alloc(o, System.Runtime.InteropServices.GCHandleType.Normal);
     gcHandles.Add(_p);
 }