Changeset 5775


Ignore:
Timestamp:
Apr 3, 2018 5:02:23 AM (21 months ago)
Author:
ming
Message:

Re #2100: Fixed SrtpCrypto? vector definition

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/swig/pjsua2.i

    r5392 r5775  
    103103%template(SipHeaderVector)              std::vector<pj::SipHeader>; 
    104104%template(AuthCredInfoVector)           std::vector<pj::AuthCredInfo>; 
     105%template(SrtpCryptoVector)             std::vector<pj::SrtpCrypto>; 
    105106%template(SipMultipartPartVector)       std::vector<pj::SipMultipartPart>; 
    106107%template(BuddyVector)                  std::vector<pj::Buddy*>; 
  • pjproject/trunk/pjsip/include/pjsua2/account.hpp

    r5771 r5775  
    735735}; 
    736736 
     737/* Array of SRTP cryptos. */ 
     738typedef std::vector<SrtpCrypto> SrtpCryptoVector; 
     739 
    737740struct SrtpOpt : public PersistentObject 
    738741{ 
     
    743746     * Default: empty. 
    744747     */ 
    745     vector<SrtpCrypto>          cryptos; 
     748    SrtpCryptoVector            cryptos; 
    746749 
    747750    /** 
Note: See TracChangeset for help on using the changeset viewer.