summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-07 03:28:48 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-07 03:28:48 -0400
commit925387d7c085ce0a2fc97f75bd26a06686e455d1 (patch)
treefc27f20e84e27ed096ccd3057215086965fe9653 /python
parent8d89329b3fd0264d9e4e7dcaf86129cdb08d0d25 (diff)
The Python interface code is now building again and passes its unit tests.
Diffstat (limited to 'python')
-rw-r--r--python/py_amount.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/py_amount.cc b/python/py_amount.cc
index 4ec94132..bbd5fcb5 100644
--- a/python/py_amount.cc
+++ b/python/py_amount.cc
@@ -136,7 +136,9 @@ void export_amount()
.add_static_property("keep_date", &amount_t::keep_date)
.add_static_property("keep_tag", &amount_t::keep_tag)
- .add_static_property("stream_fullstrings", &amount_t::stream_fullstrings)
+ .add_static_property("stream_fullstrings",
+ make_getter(&amount_t::stream_fullstrings),
+ make_setter(&amount_t::stream_fullstrings))
#ifdef HAVE_GDTOA
.def(init<double>())