From c8899addfd2deed3d84be2de234681db64987722 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 30 Apr 2007 06:26:38 +0000 Subject: Rearranged the sources a bit. --- src/py_format.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/py_format.cc (limited to 'src/py_format.cc') diff --git a/src/py_format.cc b/src/py_format.cc new file mode 100644 index 00000000..e2faf5dc --- /dev/null +++ b/src/py_format.cc @@ -0,0 +1,11 @@ +using namespace boost::python; +using namespace ledger; + +void export_format() +{ + class_< format_t > ("Format") + .def(init()) + .def("parse", &format_t::parse) + .def("format", &format_t::format) + ; +} -- cgit v1.2.3