mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
Merge pull request #1948 from deltachat/clarify-str-unref
clarify dc_str_unref()
This commit is contained in:
@@ -2186,10 +2186,11 @@ void dc_delete_all_locations (dc_context_t* context);
|
|||||||
* MUST NOT be released by the standard free() function;
|
* MUST NOT be released by the standard free() function;
|
||||||
* always use dc_str_unref() for this purpose.
|
* always use dc_str_unref() for this purpose.
|
||||||
* - dc_str_unref() MUST NOT be called for strings not returned by deltachat-core.
|
* - dc_str_unref() MUST NOT be called for strings not returned by deltachat-core.
|
||||||
* - dc_str_unref() MUST NOT be called for other objectes returned by deltachat-core.
|
* - dc_str_unref() MUST NOT be called for other objects returned by deltachat-core.
|
||||||
*
|
*
|
||||||
* @memberof dc_context_t
|
* @memberof dc_context_t
|
||||||
* @param str The string to release.
|
* @param str The string to release.
|
||||||
|
* If NULL is given, nothing is done.
|
||||||
*/
|
*/
|
||||||
void dc_str_unref (char* str);
|
void dc_str_unref (char* str);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user