From 7200e623756f40f1b179c575043c84e4757dd506 Mon Sep 17 00:00:00 2001 From: Jikstra <34889164+Jikstra@users.noreply.github.com> Date: Thu, 1 Oct 2020 13:37:04 +0200 Subject: [PATCH] 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 Co-authored-by: bjoern --- deltachat-ffi/deltachat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index a47abc4e3..c4f94fae7 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -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(). */