dc_get_info: accept immutable context

This commit is contained in:
Alexander Krotov
2020-09-23 03:47:45 +03:00
committed by link2xt
parent 21b18836ca
commit 8301e27f86
2 changed files with 2 additions and 2 deletions

View File

@@ -431,7 +431,7 @@ int dc_set_config_from_qr (dc_context_t* context, const char* qr);
* @param context The context object.
* @return String which must be released using dc_str_unref() after usage. Never returns NULL.
*/
char* dc_get_info (dc_context_t* context);
char* dc_get_info (const dc_context_t* context);
/**