r16416 - gnucash/branches/register-rewrite/src/engine - Implement CopyOnto semantics for both transactions and splits.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

r16416 - gnucash/branches/register-rewrite/src/engine - Implement CopyOnto semantics for both transactions and splits.

Chris Shoemaker-2
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.

_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches