From 61598dcdddc7644ebac9092bc2b86be7840f7671 Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Thu, 12 Dec 2024 03:09:40 +0100 Subject: [PATCH] fix method return type --- 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 4c82d9eeee..c9fcb9db67 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -5963,7 +5963,7 @@ uint32_t dc_event_get_account_id(dc_event_t* event); * @return The json representation of the event as string or NULL. * Must be freed using dc_str_unref(). */ -uint32_t dc_event_get_json(dc_event_t* event); +char* dc_event_get_json(dc_event_t* event); /** * Free memory used by an event object.