Skip to content

Commit

Permalink
[dialog-commodity.h] add extern "C"{}
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed Apr 18, 2023
1 parent bff78f6 commit d9ba9a4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gnucash/gnome-utils/dialog-commodity.h
Expand Up @@ -37,6 +37,11 @@
#include <gtk/gtk.h>
#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
Expand Down Expand Up @@ -248,6 +253,10 @@ void gnc_ui_update_commodity_picker(GtkWidget *cbwe,
const gchar *sel);
/** @} */

#ifdef __cplusplus
}
#endif

#endif
/** @} */
/** @} */

0 comments on commit d9ba9a4

Please sign in to comment.