mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
missed a few
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8696 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
231999e641
commit
f435fa83fa
@ -94,7 +94,7 @@ void qof_object_mark_clean (QofBook *book)
|
||||
}
|
||||
}
|
||||
|
||||
void qof_object_foreach_type (foreachTypeCB cb, gpointer user_data)
|
||||
void qof_object_foreach_type (QofForeachTypeCB cb, gpointer user_data)
|
||||
{
|
||||
GList *l;
|
||||
|
||||
@ -267,7 +267,7 @@ gpointer qof_object_lookup_backend (GNCIdTypeConst type_name,
|
||||
}
|
||||
|
||||
struct foreach_data {
|
||||
foreachBackendTypeCB cb;
|
||||
QofForeachBackendTypeCB cb;
|
||||
gpointer user_data;
|
||||
};
|
||||
|
||||
@ -283,7 +283,7 @@ static void foreach_backend (gpointer key, gpointer be_item, gpointer arg)
|
||||
}
|
||||
|
||||
void qof_object_foreach_backend (const char *backend_name,
|
||||
foreachBackendTypeCB cb,
|
||||
QofForeachBackendTypeCB cb,
|
||||
gpointer user_data)
|
||||
{
|
||||
GHashTable *ht;
|
||||
|
@ -39,8 +39,8 @@
|
||||
#define GNC_OBJECT_VERSION 1
|
||||
|
||||
typedef struct _QofObject QofObject;
|
||||
typedef void (*foreachTypeCB) (QofObject *type, gpointer user_data);
|
||||
typedef void (*foreachBackendTypeCB) (GNCIdTypeConst type,
|
||||
typedef void (*QofForeachTypeCB) (QofObject *type, gpointer user_data);
|
||||
typedef void (*QofForeachBackendTypeCB) (GNCIdTypeConst type,
|
||||
gpointer backend_data,
|
||||
gpointer user_data);
|
||||
|
||||
@ -74,7 +74,7 @@ struct _QofObject {
|
||||
|
||||
};
|
||||
|
||||
void qof_object_foreach_type (foreachTypeCB cb, gpointer user_data);
|
||||
void qof_object_foreach_type (QofForeachTypeCB cb, gpointer user_data);
|
||||
|
||||
void qof_object_foreach (GNCIdTypeConst type_name, QofBook *book,
|
||||
foreachObjectCB cb, gpointer user_data);
|
||||
@ -105,7 +105,7 @@ gpointer qof_object_lookup_backend (GNCIdTypeConst type_name,
|
||||
const char *backend_name);
|
||||
|
||||
void qof_object_foreach_backend (const char *backend_name,
|
||||
foreachBackendTypeCB cb,
|
||||
QofForeachBackendTypeCB cb,
|
||||
gpointer user_data);
|
||||
|
||||
#endif /* QOF_OBJECT_H_ */
|
||||
|
@ -18,13 +18,13 @@ static const char * printable (gpointer obj);
|
||||
static void test_printable (const char *name, gpointer obj);
|
||||
static void test_foreach (QofBook *, const char *);
|
||||
|
||||
static GncObject_t bus_obj = {
|
||||
static QofObject bus_obj = {
|
||||
GNC_OBJECT_VERSION,
|
||||
TEST_MODULE_NAME,
|
||||
TEST_MODULE_DESC,
|
||||
NULL, /* create */
|
||||
NULL, /* destroy */
|
||||
NULL, /* is dirty */
|
||||
NULL, /* is dirty */
|
||||
NULL, /* mark_clean */
|
||||
foreach,
|
||||
printable,
|
||||
|
Loading…
Reference in New Issue
Block a user