示例#1
0
    public static SWIGTYPE_p_std__tupleT_std__queueT_Point_t_int_t cal_solution(Rider r, Order new_order, int time)
    {
        SWIGTYPE_p_std__tupleT_std__queueT_Point_t_int_t ret = new SWIGTYPE_p_std__tupleT_std__queueT_Point_t_int_t(delivery_modelPINVOKE.Algorithm_cal_solution(Rider.getCPtr(r), Order.getCPtr(new_order), time), true);

        if (delivery_modelPINVOKE.SWIGPendingException.Pending)
        {
            throw delivery_modelPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__tupleT_std__queueT_Point_t_int_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }