r13390 - gnucash/trunk/lib/libqof/qof - Implement
QOF_COMMIT_EDIT_PART2 as a function instead of a macro.
Chris Shoemaker
chris at cvs.gnucash.org
Sat Feb 25 23:56:48 EST 2006
Author: chris
Date: 2006-02-25 23:56:47 -0500 (Sat, 25 Feb 2006)
New Revision: 13390
Trac: http://svn.gnucash.org/trac/changeset/13390
Modified:
gnucash/trunk/lib/libqof/qof/qof-be-utils.h
gnucash/trunk/lib/libqof/qof/qofbackend.c
Log:
Implement QOF_COMMIT_EDIT_PART2 as a function instead of a macro.
Any of the callbacks passed to this function may be NULL to decline the
use of that callback. Also, the three callbacks are now called in three
mutually exclusive cases, corresponding to:
1) a failed commit, ('on_error')
2) a successful commit where the object remains valid, ('on_done'), and
3) a successful commit where the object has been destroyed, ('on_free').
More information about the gnucash-patches
mailing list