public SWIGTYPE_p_TransportInfo transportGetInfo(SWIGTYPE_p_TransportId id) { SWIGTYPE_p_TransportInfo ret = new SWIGTYPE_p_TransportInfo(pjsua2PINVOKE.Endpoint_transportGetInfo(swigCPtr, SWIGTYPE_p_TransportId.getCPtr(id)), true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_TransportInfo obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }