internal static HandleRef getCPtr(ScoreAccumulator obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public static RetrievalMethod createModel(Index ind, ScoreAccumulator accum) {
   IntPtr cPtr = lemur_csharpPINVOKE.RetMethodManager_createModel__SWIG_1(Index.getCPtr(ind), ScoreAccumulator.getCPtr(accum));
   RetrievalMethod ret = (cPtr == IntPtr.Zero) ? null : new RetrievalMethod(cPtr, true);
   if (lemur_csharpPINVOKE.SWIGPendingException.Pending) throw lemur_csharpPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }