mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
QofSession, QofBackend: Change book_id to uri.
It's more descriptive and less likely to be confused with the book:id value in XML files that is the book's GUID. Also changed the QofSessionImpl::begin new_uri parameter from std::string to const char*. There's no point in allocating a string just to call new_uri.c_str() all over the place.
This commit is contained in:
@@ -152,7 +152,7 @@ void qof_session_swap_data (QofSession *session_1, QofSession *session_2);
|
||||
* If an error occurs, it will be pushed onto the session error
|
||||
* stack, and that is where it should be examined.
|
||||
*/
|
||||
void qof_session_begin (QofSession *session, const char * book_id,
|
||||
void qof_session_begin (QofSession *session, const char * new_uri,
|
||||
gboolean ignore_lock, gboolean create,
|
||||
gboolean force);
|
||||
|
||||
|
Reference in New Issue
Block a user