summaryrefslogtreecommitdiff
path: root/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'value.cc')
-rw-r--r--value.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/value.cc b/value.cc
index 7de21813..8d28e506 100644
--- a/value.cc
+++ b/value.cc
@@ -579,3 +579,18 @@ value_t value_t::cost() const
}
} // namespace ledger
+
+#ifdef USE_BOOST_PYTHON
+
+#include <boost/python.hpp>
+
+using namespace boost::python;
+using namespace ledger;
+
+void export_value()
+{
+ class_< value_t > ("Value")
+ ;
+}
+
+#endif // USE_BOOST_PYTHON