From d9ba9a4c83049d2a20325366a0fe4d83c369f4ec Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Thu, 13 Apr 2023 07:15:45 +0800 Subject: [PATCH] [dialog-commodity.h] add extern "C"{} --- gnucash/gnome-utils/dialog-commodity.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnucash/gnome-utils/dialog-commodity.h b/gnucash/gnome-utils/dialog-commodity.h index e51766ad9b6..644c0453bab 100644 --- a/gnucash/gnome-utils/dialog-commodity.h +++ b/gnucash/gnome-utils/dialog-commodity.h @@ -37,6 +37,11 @@ #include #include "gnc-commodity.h" +#ifdef __cplusplus +extern "C" +{ +#endif + /** The dialog commodity types are used to determine what commodity * namespaces the currency dialog will present to a user. These * values can be safely changed from one release to the next. Note @@ -248,6 +253,10 @@ void gnc_ui_update_commodity_picker(GtkWidget *cbwe, const gchar *sel); /** @} */ +#ifdef __cplusplus +} +#endif + #endif /** @} */ /** @} */