Esempio n. 1
0
    public SWIGTYPE_p_pjsip_dialog_cap_status remoteHasCap(int htype, SWIGTYPE_p_string hname, SWIGTYPE_p_string token)
    {
        SWIGTYPE_p_pjsip_dialog_cap_status ret = new SWIGTYPE_p_pjsip_dialog_cap_status(pjsua2PINVOKE.Call_remoteHasCap(swigCPtr, htype, SWIGTYPE_p_string.getCPtr(hname), SWIGTYPE_p_string.getCPtr(token)), true);

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