summaryrefslogtreecommitdiff
path: root/amounts.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-02-28 14:40:49 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:28 -0400
commit0c55a5ee1b5b35f399de7286cd8c6565a61e9634 (patch)
tree47c247481db46d478133eddade540f90c34402b3 /amounts.cc
parent9db08c4c7de7b2058363bec4a3000f48fc78d580 (diff)
downloadfork-ledger-0c55a5ee1b5b35f399de7286cd8c6565a61e9634.tar.gz
fork-ledger-0c55a5ee1b5b35f399de7286cd8c6565a61e9634.tar.bz2
fork-ledger-0c55a5ee1b5b35f399de7286cd8c6565a61e9634.zip
(read_binary_journal): Fixed a tiny memory leak when reading from a
binary cache.
Diffstat (limited to 'amounts.cc')
-rw-r--r--amounts.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/amounts.cc b/amounts.cc
new file mode 100644
index 00000000..6bb9ddbc
--- /dev/null
+++ b/amounts.cc
@@ -0,0 +1,14 @@
+#include <boost/python.hpp>
+
+using namespace boost::python;
+
+void export_amount();
+void export_balance();
+void export_value();
+
+BOOST_PYTHON_MODULE(amounts)
+{
+ export_amount();
+ export_balance();
+ export_value();
+}