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