summaryrefslogtreecommitdiff
path: root/py_format.cc
blob: e2faf5dc61d60a10f02a189380f719591672bacb (plain)
1
2
3
4
5
6
7
8
9
10
11
using namespace boost::python;
using namespace ledger;

void export_format()
{
  class_< format_t > ("Format")
    .def(init<string>())
    .def("parse", &format_t::parse)
    .def("format", &format_t::format)
    ;
}