summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-02-15 11:05:18 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:02 -0400
commit51ca2ca08df278a72b6300cf856b8b7850a2de84 (patch)
treeb714c9c53d875ff090945da26ad45a36cf6d84fa
parent5ac4ab2fd51226c920c8e2b54698fedf8e29ea0d (diff)
downloadfork-ledger-51ca2ca08df278a72b6300cf856b8b7850a2de84.tar.gz
fork-ledger-51ca2ca08df278a72b6300cf856b8b7850a2de84.tar.bz2
fork-ledger-51ca2ca08df278a72b6300cf856b8b7850a2de84.zip
(transaction_xdata_t): Added a `ptr' void *, for general use. The
reconcile_transactions handler uses it.
-rw-r--r--walk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/walk.h b/walk.h
index 2896b28b..335ce028 100644
--- a/walk.h
+++ b/walk.h
@@ -91,8 +91,9 @@ struct transaction_xdata_t
unsigned int index;
unsigned short dflags;
std::time_t date;
+ void * ptr;
- transaction_xdata_t() : index(0), dflags(0), date(0) {}
+ transaction_xdata_t() : index(0), dflags(0), date(0), ptr(0) {}
};
inline bool transaction_has_xdata(const transaction_t& xact) {