Ignore:
Timestamp:
May 11, 2007 3:14:34 PM (17 years ago)
Author:
bennylp
Message:

HUGE changeset to make the rest of the libraries compile with C++ mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/session.c

    r1109 r1266  
    422422   
    423423    /* Now that we have codec info, get the codec param. */ 
    424     si->param = pj_pool_alloc(pool, sizeof(*si->param)); 
     424    si->param = PJ_POOL_ALLOC_T(pool, pjmedia_codec_param); 
    425425    status = pjmedia_codec_mgr_get_default_param(mgr, &si->fmt, si->param); 
    426426    if (status != PJ_SUCCESS) 
     
    533533    PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); 
    534534 
    535     session = pj_pool_zalloc(pool, sizeof(pjmedia_session)); 
     535    session = PJ_POOL_ZALLOC_T(pool, pjmedia_session); 
    536536    session->pool = pool; 
    537537    session->endpt = endpt; 
Note: See TracChangeset for help on using the changeset viewer.