コード例 #1
0
 public Error(SWIGTYPE_p_pj_status_t prm_status, SWIGTYPE_p_string prm_title, SWIGTYPE_p_string prm_reason, SWIGTYPE_p_string prm_src_file, int prm_src_line) : this(pjsua2PINVOKE.new_Error__SWIG_1(SWIGTYPE_p_pj_status_t.getCPtr(prm_status), SWIGTYPE_p_string.getCPtr(prm_title), SWIGTYPE_p_string.getCPtr(prm_reason), SWIGTYPE_p_string.getCPtr(prm_src_file), prm_src_line), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: Endpoint.cs プロジェクト: waffle-iron/nequeo
    public SWIGTYPE_p_pj_status_t utilVerifyUri(SWIGTYPE_p_string prmUri)
    {
        SWIGTYPE_p_pj_status_t ret = new SWIGTYPE_p_pj_status_t(pjsua2PINVOKE.Endpoint_utilVerifyUri(swigCPtr, SWIGTYPE_p_string.getCPtr(prmUri)), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #3
0
ファイル: Endpoint.cs プロジェクト: waffle-iron/nequeo
    public SWIGTYPE_p_string utilStrError(SWIGTYPE_p_pj_status_t prmErr)
    {
        SWIGTYPE_p_string ret = new SWIGTYPE_p_string(pjsua2PINVOKE.Endpoint_utilStrError(swigCPtr, SWIGTYPE_p_pj_status_t.getCPtr(prmErr)), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_pj_status_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }