mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
add extern "C" wrapper to header files
to be usable from cpp
This commit is contained in:
parent
77cb9c6af4
commit
75456bbb29
@ -26,6 +26,10 @@
|
||||
|
||||
#include "Account.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Note: make sure to update the help text for this in prefs.scm if these
|
||||
* change! These macros define the account types for which an auto interest
|
||||
* xfer dialog could pop up, if the user's preferences allow it.
|
||||
@ -180,6 +184,10 @@ void gnc_account_renumber_create_dialog (GtkWidget *window, Account *account);
|
||||
|
||||
void gnc_account_cascade_properties_dialog (GtkWidget *window, Account *account);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
/** @} */
|
||||
|
||||
|
@ -27,6 +27,10 @@
|
||||
#include "Account.h"
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/** STRUCTS *********************************************************/
|
||||
typedef struct _RecnWindow RecnWindow;
|
||||
@ -66,4 +70,8 @@ void gnc_ui_reconcile_window_raise (RecnWindow * recnData);
|
||||
|
||||
GtkWindow *gnc_ui_reconcile_window_get_window (RecnWindow * recnData);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* WINDOW_RECONCILE_H */
|
||||
|
Loading…
Reference in New Issue
Block a user