mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
C++ compatibility: export is a keyword, so don't use it as a member name.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18770 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
7b95d03929
commit
261c65e2a2
@ -949,7 +949,7 @@ init_sql_backend( GncDbiBackend* dbi_be )
|
||||
be->run_query = gnc_sql_run_query;
|
||||
be->free_query = gnc_sql_free_query;
|
||||
|
||||
be->export = NULL;
|
||||
be->export_fn = NULL;
|
||||
|
||||
gnc_sql_init( &dbi_be->sql_be );
|
||||
}
|
||||
|
@ -1129,7 +1129,7 @@ gnc_backend_new(void)
|
||||
be->load_config = NULL;
|
||||
be->get_config = NULL;
|
||||
|
||||
be->export = gnc_xml_be_write_accounts_to_file;
|
||||
be->export_fn = gnc_xml_be_write_accounts_to_file;
|
||||
|
||||
gnc_be->dirname = NULL;
|
||||
gnc_be->fullpath = NULL;
|
||||
|
@ -364,7 +364,7 @@ struct QofBackend_s
|
||||
* removed ASAP. This is a temporary hack-around until period-closing
|
||||
* is fully implemented.
|
||||
*/
|
||||
void (*export) (QofBackend *, QofBook *);
|
||||
void (*export_fn) (QofBackend *, QofBook *);
|
||||
|
||||
};
|
||||
|
||||
|
@ -142,7 +142,7 @@ qof_backend_init(QofBackend *be)
|
||||
|
||||
/* to be removed */
|
||||
be->price_lookup = NULL;
|
||||
be->export = NULL;
|
||||
be->export_fn = NULL;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -1694,11 +1694,11 @@ qof_session_export (QofSession *tmp_session,
|
||||
return FALSE;
|
||||
|
||||
be->percentage = percentage_func;
|
||||
if (be->export)
|
||||
if (be->export_fn)
|
||||
{
|
||||
int err;
|
||||
|
||||
(be->export)(be, book);
|
||||
(be->export_fn)(be, book);
|
||||
err = qof_backend_get_error(be);
|
||||
|
||||
if (ERR_BACKEND_NO_ERR != err)
|
||||
|
Loading…
Reference in New Issue
Block a user