コード例 #1
0
ファイル: AccountConfig.cs プロジェクト: waffle-iron/nequeo
 public void toPj(SWIGTYPE_p_pjsua_acc_config cfg)
 {
     pjsua2PINVOKE.AccountConfig_toPj(swigCPtr, SWIGTYPE_p_pjsua_acc_config.getCPtr(cfg));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: AccountConfig.cs プロジェクト: waffle-iron/nequeo
 public void fromPj(SWIGTYPE_p_pjsua_acc_config prm, SWIGTYPE_p_pjsua_media_config mcfg)
 {
     pjsua2PINVOKE.AccountConfig_fromPj(swigCPtr, SWIGTYPE_p_pjsua_acc_config.getCPtr(prm), SWIGTYPE_p_pjsua_media_config.getCPtr(mcfg));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_pjsua_acc_config obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }