summaryrefslogtreecommitdiff
path: root/src/py_post.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-29 14:43:16 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-29 14:43:16 -0600
commit520ece21644c4f3a97f722e351fce382c1661183 (patch)
tree1247ef37d801e3fe29254924640008c4dbf4d587 /src/py_post.cc
parent5517871144e61ec1c7bad8f4dd96e0672e63f9d1 (diff)
downloadfork-ledger-520ece21644c4f3a97f722e351fce382c1661183.tar.gz
fork-ledger-520ece21644c4f3a97f722e351fce382c1661183.tar.bz2
fork-ledger-520ece21644c4f3a97f722e351fce382c1661183.zip
Fixed problem with the Python build
Diffstat (limited to 'src/py_post.cc')
-rw-r--r--src/py_post.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/py_post.cc b/src/py_post.cc
index 1c187ff1..cace419f 100644
--- a/src/py_post.cc
+++ b/src/py_post.cc
@@ -132,6 +132,9 @@ void export_post()
class_< post_t, bases<item_t> > ("Posting")
//.def(init<account_t *>())
+ .def("id", &post_t::id)
+ .def("seq", &post_t::seq)
+
.add_property("xact",
make_getter(&post_t::xact,
return_internal_reference<>()),