Mention in dc_event_get_data2_str method that it can also return 0 (#1955)

* Mention in dc_event_get_data2_str method that it can also return 0

* Update deltachat-ffi/deltachat.h

Co-authored-by: bjoern <r10s@b44t.com>

Co-authored-by: bjoern <r10s@b44t.com>
This commit is contained in:
Jikstra
2020-10-01 13:37:04 +02:00
committed by GitHub
parent 7ddf3ba754
commit 7200e62375

View File

@@ -4365,7 +4365,7 @@ int dc_event_get_data2_int(dc_event_t* event);
*
* @memberof dc_event_t
* @param event Event object as returned from dc_get_next_event().
* @return "data2" as a string,
* @return "data2" as a string or NULL.
* the meaning depends on the event type associated with this event.
* Once you're done with the string, you have to unref it using dc_unref_str().
*/