mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-31 10:19:23 +00:00
Fix API by adding missing const keywords.
This commit is contained in:
parent
db2d4989b8
commit
467ec300e6
2 changed files with 4 additions and 4 deletions
|
|
@ -1514,11 +1514,11 @@ void linphone_chat_message_set_content_type(LinphoneChatMessage *msg, const char
|
|||
msg->content_type = content_type ? ms_strdup(content_type) : NULL;
|
||||
}
|
||||
|
||||
bool_t linphone_chat_message_is_file_transfer(LinphoneChatMessage *msg) {
|
||||
bool_t linphone_chat_message_is_file_transfer(const LinphoneChatMessage *msg) {
|
||||
return is_file_transfer(msg->content_type);
|
||||
}
|
||||
|
||||
bool_t linphone_chat_message_is_text(LinphoneChatMessage *msg) {
|
||||
bool_t linphone_chat_message_is_text(const LinphoneChatMessage *msg) {
|
||||
return is_text(msg->content_type);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -395,14 +395,14 @@ LINPHONE_PUBLIC void linphone_chat_message_set_content_type(LinphoneChatMessage
|
|||
* @param[in] message LinphoneChatMessage object
|
||||
* @return Whether or not the message is a file tranfer
|
||||
*/
|
||||
LINPHONE_PUBLIC bool_t linphone_chat_message_is_file_transfer(LinphoneChatMessage *message);
|
||||
LINPHONE_PUBLIC bool_t linphone_chat_message_is_file_transfer(const LinphoneChatMessage *message);
|
||||
|
||||
/**
|
||||
* Return whether or not a chat message is a text.
|
||||
* @param[in] message LinphoneChatMessage object
|
||||
* @return Whether or not the message is a text
|
||||
*/
|
||||
LINPHONE_PUBLIC bool_t linphone_chat_message_is_text(LinphoneChatMessage *message);
|
||||
LINPHONE_PUBLIC bool_t linphone_chat_message_is_text(const LinphoneChatMessage *message);
|
||||
|
||||
/**
|
||||
* Get if a chat message is to be stored.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue