internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_r_q_const__papillon__PString__void obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public PResult EnrollFromCSV(string csvInputFilename, int videoMaxFrames, int videoMaxExamples, string csvOutputFilename, PWatchlist watchlist, SWIGTYPE_p_f_r_q_const__papillon__PString__void callback) { PResult ret = new PResult(PapillonPINVOKE.PEnrollment_EnrollFromCSV__SWIG_0(swigCPtr, csvInputFilename, videoMaxFrames, videoMaxExamples, csvOutputFilename, PWatchlist.getCPtr(watchlist), SWIGTYPE_p_f_r_q_const__papillon__PString__void.getCPtr(callback)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }