コード例 #1
0
ファイル: IntNDArray.cs プロジェクト: Anshul-Bansal/gsoc
 public IntNDArray(IntNDArray orig) : this(modshogunPINVOKE.new_IntNDArray__SWIG_2(IntNDArray.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: IntNDArray.cs プロジェクト: Anshul-Bansal/gsoc
 public IntNDArray(IntNDArray orig) : this(modshogunPINVOKE.new_IntNDArray__SWIG_2(IntNDArray.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #3
0
ファイル: IntNDArray.cs プロジェクト: Anshul-Bansal/gsoc
 internal static HandleRef getCPtr(IntNDArray obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #4
0
ファイル: IntNDArray.cs プロジェクト: Anshul-Bansal/gsoc
 internal static HandleRef getCPtr(IntNDArray obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }