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(); } }
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(); } }
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); }