From 4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 19 Nov 2009 21:53:02 -0500 Subject: Many improvements to Ledger's Python bindings --- src/amount.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/amount.h') diff --git a/src/amount.h b/src/amount.h index c75370e3..a8c08905 100644 --- a/src/amount.h +++ b/src/amount.h @@ -97,12 +97,8 @@ class amount_t ordered_field_operators > > > { public: - /** Indicates which commodity pool should be used. */ - static shared_ptr current_pool; - /** Ready the amount subsystem for use. @note Normally called by session_t::initialize(). */ - static void initialize(shared_ptr pool); static void initialize(); /** Shutdown the amount subsystem and free all resources. @note Normally called by session_t::shutdown(). */ @@ -577,7 +573,7 @@ public: been stripped. */ void annotate(const annotation_t& details); - bool is_annotated() const; + bool has_annotation() const; annotation_t& annotation(); const annotation_t& annotation() const { -- cgit v1.2.3