public void setDigitMap(SWIGTYPE_p_std__vectorT_pj__ToneDigitMapDigit_t digit_map) { pjsua2PINVOKE.ToneGenerator_setDigitMap(swigCPtr, SWIGTYPE_p_std__vectorT_pj__ToneDigitMapDigit_t.getCPtr(digit_map)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public SWIGTYPE_p_std__vectorT_pj__ToneDigitMapDigit_t getDigitMap() { SWIGTYPE_p_std__vectorT_pj__ToneDigitMapDigit_t ret = new SWIGTYPE_p_std__vectorT_pj__ToneDigitMapDigit_t(pjsua2PINVOKE.ToneGenerator_getDigitMap(swigCPtr), true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_pj__ToneDigitMapDigit_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }