Inheritance: IDisposable
Esempio n. 1
0
 public int CheckId(ErrorId id)
 {
     int ret = p4apiPINVOKE.Error_CheckId(swigCPtr, ErrorId.getCPtr(id));
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 2
0
 internal static HandleRef getCPtr(ErrorId obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 3
0
 public Error Set(ErrorId id)
 {
     Error ret = new Error(p4apiPINVOKE.Error_Set__SWIG_0(swigCPtr, ErrorId.getCPtr(id)), false);
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }