Exemple #1
0
        public virtual Node newNode()
        {
            IntPtr cPtr = MeCabPINVOKE.Lattice_newNode(swigCPtr);
            Node   ret  = (cPtr == IntPtr.Zero) ? null : new Node(cPtr, false);

            if (MeCabPINVOKE.SWIGPendingException.Pending)
            {
                throw MeCabPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }