mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
make ffi-string-parameter const
typically, nearly all string-parameters in the ffi should be const. one of the few exceptions is dc_str_unref() that really modifies the given data.
This commit is contained in:
committed by
holger krekel
parent
fb9369f333
commit
3a16ad89bd
@@ -3485,7 +3485,7 @@ int dc_contact_is_verified (dc_contact_t* contact);
|
||||
* accessor functions. If no provider info is found, NULL will be
|
||||
* returned.
|
||||
*/
|
||||
dc_provider_t* dc_provider_new_from_domain (char* domain);
|
||||
dc_provider_t* dc_provider_new_from_domain (const char* domain);
|
||||
|
||||
|
||||
/**
|
||||
@@ -3499,7 +3499,7 @@ dc_provider_t* dc_provider_new_from_domain (char* domain);
|
||||
* accessor functions. If no provider info is found, NULL will be
|
||||
* returned.
|
||||
*/
|
||||
dc_provider_t* dc_provider_new_from_email (char* email);
|
||||
dc_provider_t* dc_provider_new_from_email (const char* email);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user