Add missing const to linphone_core_get_user_data signature.

This commit is contained in:
Ghislain MARY 2014-09-08 11:31:01 +02:00
parent f4ec25eb91
commit 2150ce6f5c
2 changed files with 2 additions and 2 deletions

View file

@ -5375,7 +5375,7 @@ void linphone_core_stop_dtmf(LinphoneCore *lc){
*
* @ingroup initializing
**/
void *linphone_core_get_user_data(LinphoneCore *lc){
void *linphone_core_get_user_data(const LinphoneCore *lc){
return lc->data;
}

View file

@ -2593,7 +2593,7 @@ LINPHONE_PUBLIC void linphone_core_enable_keep_alive(LinphoneCore* lc,bool_t ena
*/
LINPHONE_PUBLIC bool_t linphone_core_keep_alive_enabled(LinphoneCore* lc);
LINPHONE_PUBLIC void *linphone_core_get_user_data(LinphoneCore *lc);
LINPHONE_PUBLIC void *linphone_core_get_user_data(const LinphoneCore *lc);
LINPHONE_PUBLIC void linphone_core_set_user_data(LinphoneCore *lc, void *userdata);
/* returns LpConfig object to read/write to the config file: usefull if you wish to extend