public static IndexedRealVector runTextQuery(string query, TextQueryRetMethod model) { IntPtr cPtr = lemur_csharpPINVOKE.RetMethodManager_runTextQuery__SWIG_4(query, TextQueryRetMethod.getCPtr(model)); IndexedRealVector ret = (cPtr == IntPtr.Zero) ? null : new IndexedRealVector(cPtr, false); if (lemur_csharpPINVOKE.SWIGPendingException.Pending) throw lemur_csharpPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(TextQueryRetMethod obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }