コード例 #1
0
ファイル: Kernel.cs プロジェクト: Anshul-Bansal/gsoc
    public bool has_property(EKernelProperty p)
    {
        bool ret = modshogunPINVOKE.Kernel_has_property(swigCPtr, (int)p);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #2
0
ファイル: Kernel.cs プロジェクト: Anshul-Bansal/gsoc
 public bool has_property(EKernelProperty p) {
   bool ret = modshogunPINVOKE.Kernel_has_property(swigCPtr, (int)p);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }