Ignore:
Timestamp:
Jul 12, 2008 9:31:34 AM (13 years ago)
Author:
bennylp
Message:

Ticket 559 (minor): Update the pool alternative API (pool_alt.h) with the latest pool API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/pool_buf.c

    r2039 r2123  
    8181                                         pj_size_t size) 
    8282{ 
     83#if PJ_HAS_POOL_ALT_API == 0 
    8384    struct creation_param param; 
    8485    long align_diff; 
     
    106107    return pj_pool_create_int(&stack_based_factory, name, size, 0,  
    107108                              pj_pool_factory_default_policy.callback); 
     109#else 
     110    PJ_UNUSED_ARG(buf); 
     111    return pj_pool_create(NULL, name, size, size, NULL); 
     112#endif 
    108113} 
    109114 
Note: See TracChangeset for help on using the changeset viewer.