Ignore:
Timestamp:
May 1, 2007 12:25:01 PM (17 years ago)
Author:
bennylp
Message:

Ported PJLIB-UTIL and PJNATH to Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/xml.c

    r1145 r1239  
    3838    pj_xml_node *node; 
    3939 
    40     node = pj_pool_zalloc(pool, sizeof(pj_xml_node)); 
     40    node = PJ_POOL_ZALLOC_T(pool, pj_xml_node); 
    4141    pj_list_init( &node->attr_head ); 
    4242    pj_list_init( &node->node_head ); 
     
    4747static pj_xml_attr *alloc_attr( pj_pool_t *pool ) 
    4848{ 
    49     return pj_pool_zalloc(pool, sizeof(pj_xml_attr)); 
     49    return PJ_POOL_ZALLOC_T(pool, pj_xml_attr); 
    5050} 
    5151 
     
    394394                                  pj_bool_t (*match)(pj_xml_node *, const void*)) 
    395395{ 
    396     pj_xml_node *head = (void*)&parent->node_head, *node = head->next; 
     396    pj_xml_node *head = (pj_xml_node*) &parent->node_head, *node = head->next; 
    397397 
    398398    while (node != (void*)head) { 
Note: See TracChangeset for help on using the changeset viewer.