Ignore:
Timestamp:
Jul 20, 2007 8:08:30 AM (12 years ago)
Author:
bennylp
Message:

Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/pool.h

    r1040 r1405  
    228228        } 
    229229 
    230         // Create the pool factory, in this case, a caching pool. 
    231         pj_caching_pool_init(&cp, &pj_pool_factory_default_policy,  
    232                             1024*1024 ); 
     230        // Create the pool factory, in this case, a caching pool, 
     231        // using default pool policy. 
     232        pj_caching_pool_init(&cp, NULL, 1024*1024 ); 
    233233 
    234234        // Do a demo 
     
    506506            ((type*)pj_pool_zalloc(pool, sizeof(type))) 
    507507 
    508  
    509  
     508/* 
     509 * Internal functions 
     510 */ 
     511PJ_IDECL(void*) pj_pool_alloc_from_block(pj_pool_block *block, pj_size_t size); 
     512PJ_DECL(void*) pj_pool_allocate_find(pj_pool_t *pool, unsigned size); 
     513 
     514 
     515         
    510516/** 
    511517 * @}   // PJ_POOL 
     
    618624 *  - callback will raise PJ_NO_MEMORY_EXCEPTION exception. 
    619625 *  - access to pool factory is not serialized (i.e. not thread safe). 
    620  */ 
    621 extern pj_pool_factory_policy pj_pool_factory_default_policy; 
     626 * 
     627 * @see pj_pool_factory_get_default_policy 
     628 */ 
     629PJ_DECL_DATA(pj_pool_factory_policy) pj_pool_factory_default_policy; 
     630 
     631 
     632/** 
     633 * Get the default pool factory policy. 
     634 * 
     635 * @return the pool policy. 
     636 */ 
     637PJ_DECL(const pj_pool_factory_policy*) pj_pool_factory_get_default_policy(void); 
     638 
    622639 
    623640/** 
Note: See TracChangeset for help on using the changeset viewer.