예제 #1
0
        public static ComplexStateType Repeat(Complex value, int count)
        {
            IntPtr           cPtr = CorePINVOKE.ComplexStateType_Repeat(Complex.getCPtr(value), count);
            ComplexStateType ret  = (cPtr == IntPtr.Zero) ? null : new ComplexStateType(cPtr, true);

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