mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-25 10:20:18 -06:00
[engine/*.h] add extern "C" {} wrappers
This commit is contained in:
parent
b33b864c2f
commit
9a85eb4a2a
@ -30,6 +30,14 @@
|
||||
|
||||
#include "gncAddress.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
gboolean gncAddressRegister (void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNC_ADDRESSP_H_ */
|
||||
|
@ -31,6 +31,10 @@
|
||||
|
||||
#include "gncCustomer.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
gboolean gncCustomerRegister (void);
|
||||
gchar *gncCustomerNextID (QofBook *book);
|
||||
const gnc_numeric *gncCustomerGetCachedBalance (GncCustomer *cust);
|
||||
@ -38,4 +42,8 @@ void gncCustomerSetCachedBalance (GncCustomer *cust, const gnc_numeric *new_bal)
|
||||
|
||||
#define gncCustomerSetGUID(E,G) qof_instance_set_guid(QOF_INSTANCE(E),(G))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNC_CUSTOMERP_H_ */
|
||||
|
@ -31,6 +31,10 @@
|
||||
|
||||
#include "gncEmployee.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
gboolean gncEmployeeRegister (void);
|
||||
gchar *gncEmployeeNextID (QofBook *book);
|
||||
const gnc_numeric *gncEmployeeGetCachedBalance (GncEmployee *vend);
|
||||
@ -38,4 +42,8 @@ void gncEmployeeSetCachedBalance (GncEmployee *vend, const gnc_numeric *new_bal)
|
||||
|
||||
#define gncEmployeeSetGUID(E,G) qof_instance_set_guid(QOF_INSTANCE(E),(G))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNC_EMPLOYEEP_H_ */
|
||||
|
@ -31,9 +31,17 @@
|
||||
|
||||
#include "gncJob.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
gboolean gncJobRegister (void);
|
||||
gchar *gncJobNextID (QofBook *book);
|
||||
|
||||
#define gncJobSetGUID(E,G) qof_instance_set_guid(QOF_INSTANCE(E),(G))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNC_JOBP_H_ */
|
||||
|
@ -31,9 +31,17 @@
|
||||
|
||||
#include "gncOrder.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
gboolean gncOrderRegister (void);
|
||||
gchar *gncOrderNextID (QofBook *book);
|
||||
|
||||
#define gncOrderSetGUID(O,G) qof_instance_set_guid(QOF_INSTANCE(O),(G))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNC_ORDERP_H_ */
|
||||
|
@ -30,6 +30,10 @@
|
||||
|
||||
#include "gncVendor.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
gboolean gncVendorRegister (void);
|
||||
gchar *gncVendorNextID (QofBook *book);
|
||||
const gnc_numeric *gncVendorGetCachedBalance (GncVendor *vend);
|
||||
@ -38,4 +42,8 @@ void gncVendorSetCachedBalance (GncVendor *vend, const gnc_numeric *new_bal);
|
||||
#define gncVendorSetGUID(V,G) qof_instance_set_guid(QOF_INSTANCE(V),(G))
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNC_VENDORP_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user