summaryrefslogtreecommitdiff
path: root/src/py_post.cc
diff options
context:
space:
mode:
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<>()),