summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-04 09:53:05 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:37 -0400
commit0214a136c2b21b3cff3dfc94095d2badc3136b1b (patch)
tree94807dcc6ee60f650f880f5421367847c3b96192 /src/amount.h
parent6c7e35dc17504c41bb177b3d1327c6b6cee4017d (diff)
downloadfork-ledger-0214a136c2b21b3cff3dfc94095d2badc3136b1b.tar.gz
fork-ledger-0214a136c2b21b3cff3dfc94095d2badc3136b1b.tar.bz2
fork-ledger-0214a136c2b21b3cff3dfc94095d2badc3136b1b.zip
Work to get Python tests running again.
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/amount.h b/src/amount.h
index 280613d7..e15c9704 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -76,11 +76,9 @@ class amount_t
ordered_field_operators<amount_t, unsigned long,
ordered_field_operators<amount_t, double> > > >
{
+ // jww (2007-05-03): Make this private, and then make
+ // ledger::initialize into a member function of session_t.
public:
- class bigint_t;
-
- typedef uint_least16_t precision_t;
-
/**
* The initialize and shutdown methods ready the amount subsystem
* for use. Normally they are called by `ledger::initialize' and
@@ -89,6 +87,11 @@ public:
static void initialize();
static void shutdown();
+public:
+ class bigint_t;
+
+ typedef uint_least16_t precision_t;
+
/**
* The default_pool is a static variable indicating which commodity
* pool should be used when none is specified.