r16416 - gnucash/branches/register-rewrite/src/engine - Implement CopyOnto semantics for both transactions and splits.
Chris Shoemaker
chris at cvs.gnucash.org
Sat Aug 11 17:08:38 EDT 2007
Author: chris
Date: 2007-08-11 16:59:20 -0400 (Sat, 11 Aug 2007)
New Revision: 16416
Trac: http://svn.gnucash.org/trac/changeset/16416
Modified:
gnucash/branches/register-rewrite/src/engine/Split.c
gnucash/branches/register-rewrite/src/engine/Split.h
gnucash/branches/register-rewrite/src/engine/Transaction.c
gnucash/branches/register-rewrite/src/engine/Transaction.h
gnucash/branches/register-rewrite/src/engine/TransactionP.h
Log:
Implement CopyOnto semantics for both transactions and splits.
- Export xaccFreeTransaction(), at least in the "private" header, since
it's the only correct thing to do with a duped Transaction that you
don't want to keep.
- In addition, add xaccTransCopyOntoAndChangeAccount() which is just
what is needed for copying a transaction from one account into another.
More information about the gnucash-patches
mailing list