Exemplo n.º 1
0
 public void set_segment_ids(SWIGTYPE_p_shogun__CArrayT_int_t segment_ids)
 {
     modshogunPINVOKE.SegmentLoss_set_segment_ids(swigCPtr, SWIGTYPE_p_shogun__CArrayT_int_t.getCPtr(segment_ids));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__CArrayT_int_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 3
0
 public void set_segment_ids(SWIGTYPE_p_shogun__CArrayT_int_t segment_ids) {
   modshogunPINVOKE.SegmentLoss_set_segment_ids(swigCPtr, SWIGTYPE_p_shogun__CArrayT_int_t.getCPtr(segment_ids));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__CArrayT_int_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }