diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-12 14:55:18 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-12 14:55:18 -0400 |
commit | 28c65cda512135bde36542351533941b019b6ee8 (patch) | |
tree | a321ec72cc0aff1a90dabe8ab07500afb1599fac /src/py_post.cc | |
parent | a1fc3c5cfe2ff1fa01c488d4e130b6592be1f111 (diff) | |
download | fork-ledger-28c65cda512135bde36542351533941b019b6ee8.tar.gz fork-ledger-28c65cda512135bde36542351533941b019b6ee8.tar.bz2 fork-ledger-28c65cda512135bde36542351533941b019b6ee8.zip |
Store metadata values as value_t instead of string
Diffstat (limited to 'src/py_post.cc')
-rw-r--r-- | src/py_post.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/py_post.cc b/src/py_post.cc index 930a46c9..537289b3 100644 --- a/src/py_post.cc +++ b/src/py_post.cc @@ -52,14 +52,14 @@ namespace { return post.has_tag(tag_mask, value_mask); } - boost::optional<string> py_get_tag_1s(post_t& post, const string& tag) { + boost::optional<value_t> py_get_tag_1s(post_t& post, const string& tag) { return post.get_tag(tag); } - boost::optional<string> py_get_tag_1m(post_t& post, const mask_t& tag_mask) { + boost::optional<value_t> py_get_tag_1m(post_t& post, const mask_t& tag_mask) { return post.get_tag(tag_mask); } - boost::optional<string> py_get_tag_2m(post_t& post, const mask_t& tag_mask, - const boost::optional<mask_t>& value_mask) { + boost::optional<value_t> py_get_tag_2m(post_t& post, const mask_t& tag_mask, + const boost::optional<mask_t>& value_mask) { return post.get_tag(tag_mask, value_mask); } |