Ignore:
Timestamp:
Jan 31, 2007 8:53:31 PM (17 years ago)
Author:
bennylp
Message:

Updated PJSUA-API docs for Python and some bug fixes in Python module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/py_pjsua/py_pjsua.c

    r916 r918  
    71827182        translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); 
    71837183        status = pjsua_call_make_call(acc_id, &dst_uri,  
    7184                         options, &user_data, &msg_data, &call_id);       
     7184                        options, (void*)user_data, &msg_data, &call_id);         
    71857185        pj_pool_release(pool); 
    71867186    } else { 
    71877187        status = pjsua_call_make_call(acc_id, &dst_uri,  
    7188                         options, &user_data, NULL, &call_id);    
     7188                        options, (void*)user_data, NULL, &call_id);      
    71897189    } 
    71907190 
     
    73397339    }    
    73407340     
    7341     status = pjsua_call_set_user_data(call_id, &user_data); 
     7341    status = pjsua_call_set_user_data(call_id, (void*)user_data); 
    73427342     
    73437343     
     
    73527352{        
    73537353    int call_id; 
    7354     int * user_data;     
     7354    void * user_data;    
    73557355     
    73567356 
     
    73637363     
    73647364     
    7365     return Py_BuildValue("i", *user_data); 
     7365    return Py_BuildValue("i", (int)user_data); 
    73667366} 
    73677367 
Note: See TracChangeset for help on using the changeset viewer.