mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 00:29:21 +00:00
fix LinphoneEvent user_data funcs.
This commit is contained in:
parent
41fb121533
commit
91cf83d2f3
1 changed files with 2 additions and 2 deletions
|
|
@ -156,11 +156,11 @@ int linphone_event_update_publish(LinphoneEvent *lev, const LinphoneContent *bod
|
|||
return sal_publish(lev->op,NULL,NULL,NULL,-1,sal_body_from_content(&salbody,body));
|
||||
}
|
||||
|
||||
void linphone_event_set_user_pointer(LinphoneEvent *ev, void *up){
|
||||
void linphone_event_set_user_data(LinphoneEvent *ev, void *up){
|
||||
ev->userdata=up;
|
||||
}
|
||||
|
||||
void *linphone_event_get_user_pointer(const LinphoneEvent *ev){
|
||||
void *linphone_event_get_user_data(const LinphoneEvent *ev){
|
||||
return ev->userdata;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue