From e6dd963ebbb288daaea5279217a18186fa2f3f3e Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Mon, 25 Jan 2021 19:25:46 +0100 Subject: [PATCH] #define removed ffi-funcion dc_contact_get_first_name as dc_contact_get_display_name to make updating easier --- deltachat-ffi/deltachat.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index ffa06ea6a..fae46bfc8 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -3907,6 +3907,11 @@ char* dc_contact_get_name (const dc_contact_t* contact); char* dc_contact_get_display_name (const dc_contact_t* contact); +// dc_contact_get_first_name is removed, +// the following define is to make upgrading more smoothly. +#define dc_contact_get_first_name dc_contact_get_display_name + + /** * Get a summary of name and address. *